Beispiel #1
0
        public ActionResult AdminActionDetails(int id)
        {
            var svc   = new AdminActionService();
            var model = svc.GetAdminActionByID(id);

            return(View(model));
        }
Beispiel #2
0
        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));
        }