Esempio n. 1
0
 public KweetsController(IUnitOfWorkAsync unitOfWork, IKweetService kweetService, ILikeService likeService, IHashTagService hashTagService, IHashTagInKweetService hashTagInKweetService, IMentionService mentionService, IMapper mapper)
 {
     _unitOfWork            = unitOfWork;
     _kweetService          = kweetService;
     _likeService           = likeService;
     _hashTagService        = hashTagService;
     _hashTagInKweetService = hashTagInKweetService;
     _mentionService        = mentionService;
     _mapper = mapper;
 }
Esempio n. 2
0
        public UsersController(IUnitOfWorkAsync unitOfWork, IUserService userService, IFollowerService followerService, ILikeService likeService, IHashTagInKweetService hashTagInKweetService, IMentionService mentionService, IUserRoleService userRoleService, IMapper mapper)
        {
            _unitOfWork            = unitOfWork;
            _userService           = userService;
            _followerService       = followerService;
            _likeService           = likeService;
            _hashTagInKweetService = hashTagInKweetService;
            _mentionService        = mentionService;
            _userRoleService       = userRoleService;

            _mapper = mapper;
        }