public ActionResult AdminActionDetails(int id) { var svc = new AdminActionService(); var model = svc.GetAdminActionByID(id); return(View(model)); }
public ActionResult AdminActionEdit(int id) { var svc = new AdminActionService(); var detail = svc.GetAdminActionByID(id); var model = new AdminActionEdit { AdminActionID = detail.AdminActionID, OrderType = detail.OrderType, InvestigatorID = detail.InvestigatorID, AgentID = detail.AgentID, InsurerID = detail.InsurerID }; return(View(model)); }