예제 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="userRequestHandler"></param>
 /// <param name="mapper"></param>
 public UsersController(IUserRequestHandler userRequestHandler, IMapper mapper)
 {
     _userRequestHandler = userRequestHandler;
     _mapper             = mapper;
 }
예제 #2
0
 public UsersController(IUserRequestHandler userRequestHandler, IFriendRequestHandler friendRequest)
 {
     _userRequestHandler   = userRequestHandler;
     _friendRequestHandler = friendRequest;
 }
예제 #3
0
 void InitialaizeHandlers()
 {
     _userRequestHandler = new UserRequestHandler(_hostAddress);
     _placeRequestHandler = new PlaceRequestHandler(_hostAddress);
     _meetingRequestHandler = new MeetingRequestHandler(_hostAddress);
 }