public IActionResult ViewSecurityAudit(int agencyId, int clearanceId)
        {
            var response = reportRepo.AuditClearance(clearanceId, agencyId);

            try
            {
                return(View(response.Data));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }
Example #2
0
        public IActionResult ListClearance(Clearance clearance)
        {
            List <ClearanceAuditListItem> response = (_repoRepository.AuditClearance(clearance.securityId, clearance.agencyId).Data);

            return(View(response));
        }