Exemplo n.º 1
0
        public ActionResult Create(JazMax.Web.ViewModel.UserAccountView.CoreUserTypeView model)
        {
            if (ModelState.IsValid)
            {
                model.IsActive = true;
                obj.CreateUserGroup(model);
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }
Exemplo n.º 2
0
 public OperationResult CreateUserGroup(ServiceDataContracts.UserGroup userGroup)
 {
     return(userGroupService.CreateUserGroup(userGroup));
 }