Esempio n. 1
0
 public NewsService(INewsArticleRepository newsArticleRepository, INewsContentRepository newsContentRepository, IUserRepository userRepository, IImageRepository imageRepository)
 {
     _newsArticleRepository = newsArticleRepository;
     _newsContentRepository = newsContentRepository;
     _userRepository = userRepository;
     _imageRepository = imageRepository;
 }
Esempio n. 2
0
 public NewsService(INewsArticleRepository newsArticleRepository)
 {
     this._newsArticleRepository = newsArticleRepository;
 }
 public NewsArticleController(INewsArticleRepository newsRepo, IFetchService fetchService)
 {
     this.newsRepo     = newsRepo;
     this.fetchService = fetchService;
 }
Esempio n. 4
0
 public NewsArticleService(INewsArticleRepository newsRepository, IUnitOfWork unitOfWork)
 {
     this._newsArticleRepository = newsRepository;
     this._unitOfWork            = unitOfWork;
 }
Esempio n. 5
0
 public NewsArticleService(INewsArticleRepository repo)
 {
     this.repo = repo;
 }
 public NewsArticleService(INewsArticleRepository newsRepository, IUnitOfWork unitOfWork)
 {
     this._newsArticleRepository = newsRepository;
     this._unitOfWork = unitOfWork;
 }