Пример #1
0
 public Response Put(Request<UserFriendRequest> request)
 {
     return FriendFinderServiceBase.GetResponse<UserFriendRequest>(request, (req, result) => _friendsController.AddFriend(request.Parameter, result));  
 }
Пример #2
0
 public Response Post(Request<UserRequest> request)
 {   
    return FriendFinderServiceBase.GetResponse<UserRequest>(request, (a, result) => _usersController.AddUser(request.Parameter, result));
 }