예제 #1
0
 public object Post(AddUser request)
 {
     //Add user
     return new AddUserResponse { UserId = 10 };
 }
예제 #2
0
 public object Post(AddUser request)
 {
     var id = Repository.AddUser(request.Name, request.Goal);
     //Add user
     return new AddUserResponse { UserId = id };
 }