public ActionResult InvestigatorDelete(int id) { var svc = new InvestigatorService(); var model = svc.GetInvestigatorByID(id); return(View(model)); }
public ActionResult InvestigatorDetails(int id) { var svc = new InvestigatorService(); var model = svc.GetInvestigatorByID(id); ViewBag.CompList = model.ComplaintsInv; return(View(model)); }
public ActionResult InvestigatorEdit(int id) { var svc = new InvestigatorService(); var detail = svc.GetInvestigatorByID(id); var model = new InvestigatorEdit { InvestigatorID = detail.InvestigatorID, Name = detail.Name, Email = detail.Email, Address = detail.Address, PhoneNumber = detail.PhoneNumber, }; return(View(model)); }