public IActionResult ListData(IDataTablesRequest request, DateTime DateFrom, DateTime DateTo, string RegNumber, string Operation, string UserId) { if (UserId == "0") { UserId = null; } var data = service.AuditLog_Select(DateFrom, DateTo, RegNumber, Operation, UserId, userContext.CourtId); return(request.GetResponse(data)); }