Пример #1
0
 public override BaseResponse HandleRequest(AddItemRequest <User> request, int userId)
 {
     request.OwnerId = userId;
     return(base.HandleRequest(request, userId));
 }
Пример #2
0
 protected virtual T GetOwner(AddItemRequest <T> request)
 {
     return(Session
            .Get <T>(request.OwnerId)
            );
 }