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

            return(AddResponse(result));
        }