public FriendRequestService(IFriendRequestRepo friendRequestRepo, IUserRepo userRepo, IFriendshipRepo friendshipRepo)
 {
     _friendRequestRepo = friendRequestRepo;
     _userRepo          = userRepo;
     _friendshipRepo    = friendshipRepo;
 }
 public FriendshipService(IFriendshipRepo friendshipRepo, IFriendRequestRepo friendRequestRepo, IMappingService mappingService)
 {
     _friendshipRepo    = friendshipRepo;
     _friendRequestRepo = friendRequestRepo;
     _mappingService    = mappingService;
 }
예제 #3
0
 public FriendshipController(IFriendshipRepo friendshipRepo,
                             IHttpClientFactory clientFactory)
 {
     this.friendshipRepo = friendshipRepo;
     this._clientFactory = clientFactory;
 }