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