예제 #1
0
 public ResponseMessageWrap <int> Insert([FromBody] UserRole userRole)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = UserRoleService.Insert(userRole)
     });
 }
예제 #2
0
 public void Post(SysUsersRolesVw model)
 {
     _service.Insert(model);
 }
예제 #3
0
 public ActionResult Create(RoleDTO entity)
 {
     role.Insert(entity);
     return(RedirectToAction("Index"));
 }