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