Exemplo n.º 1
0
        public ActionResult CreateCaseAuthBase(int caseID)
        {
            var model = new AuthCreateVM
            {
                Detail = new Domain.Cases.CaseAuthorization()
            };

            model.Detail.AuthClass          = new Domain.Cases.AuthorizationClass();
            model.ViewHelper.AuthClasses    = repository.GetAuthClassList();
            model.ViewHelper.Authorizations = repository.GetAuthorizationsList(caseID);
            model.ViewHelper.CaseID         = caseID;
            model.NewAuth = new Domain.Cases.Authorization();
            return(PartialView("CaseAuthCreate", model));
        }