public IActionResult GetAbsencesAuditView([FromBody] AuditLogFilter model) { try { model.LoginUserId = base.CurrentUser.Id; model.DistrictId = base.CurrentUser.DistrictId; model.OrganizationId = base.CurrentUser.OrganizationId == "-1" ? null : base.CurrentUser.OrganizationId; var reportDetails = _audit.GetAbsencesAuditView(model); return(Ok(reportDetails)); } catch (Exception ex) { } finally { } return(null); }