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;
 }
Ejemplo n.º 3
0
 public FriendshipController(IFriendshipRepo friendshipRepo,
                             IHttpClientFactory clientFactory)
 {
     this.friendshipRepo = friendshipRepo;
     this._clientFactory = clientFactory;
 }