Exemplo n.º 1
0
 public FarmService(IFarmRepository farmRepository, IFarmPictureRepository farmPictureRepository, IUserRepository userRepository,
                    IUserPhotoRepository userPhotoRepository, IFarmStatusRepository farmStatusRepository)
 {
     _farmRepository        = farmRepository;
     _farmPictureRepository = farmPictureRepository;
     _userRepository        = userRepository;
     _userPhotoRepository   = userPhotoRepository;
     _farmStatusRepository  = farmStatusRepository;
 }
Exemplo n.º 2
0
        public FeedService(IFeedRepository feedRepository, IUserRepository userRepository,
                           IArticlePictureRepository articlePictureRepository,
                           IProductPictureRepository productPictureRepository,
                           IFarmPictureRepository farmPictureRepository,
                           IUserPhotoRepository userPhotoRepository)
        {
            _feedRepository = feedRepository;
            _userRepository = userRepository;

            _articlePictureRepository = articlePictureRepository;
            _farmPictureRepository    = farmPictureRepository;
            _productPictureRepository = productPictureRepository;
            _userPhotoRepository      = userPhotoRepository;
        }