public ActionResult SelectedOfficer(int id) { GetAuditStats gas = new GetAuditStats(); @ViewData["OfficerAudits"] = gas.OfficerAuditStats(id).OrderByDescending(d => d.IECAID); PersonBasicGet pg = new PersonBasicGet(); return(View(pg.GetPersonPasicInfo(id))); }
private List <Audit> audits(int _officeID, DateTime _date) { GetAuditStats gas = new GetAuditStats(); return(gas.AuditStats(_officeID, _date)); }