public NewsQueryApplicationService(
     IMapper mapper
     , INewsRepository newsRepository
     , INewsApplicationService newsApplicationService
     , IRedisCache redisCache)
 {
     this.mapper                 = mapper;
     this.newsRepository         = newsRepository;
     this.newsApplicationService = newsApplicationService;
     this.redisCache             = redisCache;
 }
Exemplo n.º 2
0
 public NewsDeleteAutoService(INewsApplicationService newsApplicationService)
 {
     this.newsApplicationService = newsApplicationService;
 }
 public NewsInsertAutoService(INewsApplicationService newsApplicationService)
 {
     this.newsApplicationService = newsApplicationService;
 }
Exemplo n.º 4
0
 public InsertNewsJob(INewsApplicationService newsApplicationService)
 {
     this.newsApplicationService = newsApplicationService;
 }
Exemplo n.º 5
0
 public UnitTest1() : base()
 {
     this.newsApplicationService      = ServiceProvider.GetService <INewsApplicationService>();
     this.showApiRepository           = ServiceProvider.GetService <IShowApiRepository>();
     this.newsQueryApplicationService = ServiceProvider.GetService <INewsQueryApplicationService>();
 }