﻿
function logActivity(userName, eventId) {
    $.ajax({
        type: "POST",
        contentType: "application/json; charset=utf-8",
        url: '/LogActivityService/LogActivityService.asmx/Log',
        dataType: "json",
        data: "{'userName':'" + userName + "','eventId':'" + eventId + "'}",
        success: function(data, textStatus) {
        },
        error: function(e) {
        }
    });
}