예제 #1
0
 public ResultDTO Create([FromBody] UserDTO user)
 {
     return(userService.Create(user.Username, user.Password));
 }
예제 #2
0
 public ResultDTO Register([FromBody] UserDTO user)
 {
     return(userService.Register(user.Username, user.Password));
 }