Example #1
0
 public NewsManager(INewsDal newsDal, IMapper mapper, INewsSubScreenDal newsSubScreenDal, IHttpContextAccessor httpContextAccessor)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.newsSubScreenDal    = newsSubScreenDal;
     this.mapper  = mapper;
     this.newsDal = newsDal;
 }
 public NewsSubScreenManager(INewsSubScreenDal newsSubScreenDal, INewsDal newsDal, IScreenDal screenDal, ISubSCreenDal subSCreenDal,
                             IMapper mapper)
 {
     this.subSCreenDal     = subSCreenDal;
     this.screenDal        = screenDal;
     this.newsDal          = newsDal;
     this.mapper           = mapper;
     this.newsSubScreenDal = newsSubScreenDal;
 }