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