示例#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;
 }