public async Task <ActionResult> LoadLogs(RequestModel <object> input, string propToSearch, string[] requestedProps)
        {
            ProccessQueryData(input, propToSearch, requestedProps);
            var result = await _auditLogService.GetAuditLogTable(input);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public async Task <ActionResult> LoadLogs(RequestModel <object> input)
        {
            ProccessQueryData(input, "MethodName", new[] { "MethodName", "ServiceName", "UserName", "ClientIpAddress", "ExecutionTime", "ExecutionDuration", "BrowserInfo" });
            var result = await _auditLogService.GetAuditLogTable(input);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public async Task GetAuditLogTable_Test()
        {
            LoginAsHostAdmin();

            var fakeRequest = FakeRequests.FakeRequestHelper <object> .CreateDataTablesFakeRequestModel();

            var autiLogsTable = await _auditLogService.GetAuditLogTable(fakeRequest);

            autiLogsTable.ShouldNotBeNull();
        }