Пример #1
0
 public ArticleService(IRepository<Domain.Entities.Article> articleRepository,
     IUnitOfWork unitOfWork,
     ArticleSpecification articleSpecification, IUserService userService)
 {
     _articleRepository = articleRepository;
     _unitOfWork = unitOfWork;
     _articleSpecification = articleSpecification;
     _userService = userService;
 }
Пример #2
0
 public ArticleService(IRepository <Domain.Entities.Article> articleRepository,
                       IUnitOfWork unitOfWork,
                       ArticleSpecification articleSpecification, IUserService userService)
 {
     _articleRepository    = articleRepository;
     _unitOfWork           = unitOfWork;
     _articleSpecification = articleSpecification;
     _userService          = userService;
 }