public ActionResult InsertUser([FromBody] UserDTO user) { return(Ok(repository.InsertUser(mapper.Map <UserDTO, User>(user)))); }
public long AddUser(UserDTO user) { long userId = BL.UserBL.AddUser(user); return(userId); }
public void RegisterUser(UserDTO user) { UserBl.RegisterUser(user); }