示例#1
0
 public ActionResult InsertUser([FromBody] UserDTO user)
 {
     return(Ok(repository.InsertUser(mapper.Map <UserDTO, User>(user))));
 }
示例#2
0
        public long AddUser(UserDTO user)
        {
            long userId = BL.UserBL.AddUser(user);

            return(userId);
        }
示例#3
0
 public void RegisterUser(UserDTO user)
 {
     UserBl.RegisterUser(user);
 }