Esempio n. 1
0
 public ActionResult Create(RoleGroup obj)
 {
     _roleGroupService.AddRoleGroup(obj);
     return(RedirectToAction("Index"));
 }
Esempio n. 2
0
        public IActionResult AddRoleGroup([FromBody] RoleGroupInputDto input)
        {
            var result = _service.AddRoleGroup(input);

            return(AddResponse(result));
        }