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