Exemplo n.º 1
0
 public NewsManager(INewsDal newsDal, IMapper mapper, INewsSubScreenDal newsSubScreenDal, IHttpContextAccessor httpContextAccessor)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.newsSubScreenDal    = newsSubScreenDal;
     this.mapper  = mapper;
     this.newsDal = newsDal;
 }
Exemplo n.º 2
0
 public PublicManager(IMapper mapper,
                      INewsDal newsDal,
                      IFoodMenuDal foodMenuDal,
                      IHomeAnnounceDal homeAnnounceDal, IUserDal userDal, IUploadFile upload, IUserPhotoDal userPhotoDal,
                      IDegreeDal degreeDal, IUserService userService,
                      ICampusDal campusDal,
                      IDepartmentDal departmentDal,
                      IVehicleAnnounceDal vehicleAnnounceDal,
                      IHttpContextAccessor httpContextAccessor,
                      IAnnounceDal announceDal)
 {
     this.vehicleAnnounceDal  = vehicleAnnounceDal;
     this.httpContextAccessor = httpContextAccessor;
     this.homeAnnounceDal     = homeAnnounceDal;
     this.userDal             = userDal;
     this.upload        = upload;
     this.userPhotoDal  = userPhotoDal;
     this.degreeDal     = degreeDal;
     this.userService   = userService;
     this.campusDal     = campusDal;
     this.departmentDal = departmentDal;
     this.announceDal   = announceDal;
     this.mapper        = mapper;
     this.newsDal       = newsDal;
     this.foodMenuDal   = foodMenuDal;
 }
Exemplo n.º 3
0
 public NewsPhotoManager(INewsPhotoDal newsPhotoDal, IMapper mapper,
                         IUploadFile upload, INewsDal newsDal)
 {
     this.newsDal      = newsDal;
     this.upload       = upload;
     this.mapper       = mapper;
     this.newsPhotoDal = newsPhotoDal;
 }
 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;
 }
Exemplo n.º 5
0
 public KiosksManager(IMapper mapper, IScreenDal screenDal, ILiveTvBroadCastDal liveTvBroadCastDal,
                      INewsDal newsDal,
                      IFoodMenuDal foodMenuDal,
                      IHomeAnnounceDal homeAnnounceDal, IVehicleAnnounceDal vehicleAnnounceDal,
                      ISubSCreenDal subSCreenDal, IAnnounceDal announceDal)
 {
     this.vehicleAnnounceDal = vehicleAnnounceDal;
     this.homeAnnounceDal    = homeAnnounceDal;
     this.announceDal        = announceDal;
     this.subSCreenDal       = subSCreenDal;
     this.screenDal          = screenDal;
     this.liveTvBroadCastDal = liveTvBroadCastDal;
     this.mapper             = mapper;
     this.newsDal            = newsDal;
     this.foodMenuDal        = foodMenuDal;
 }
Exemplo n.º 6
0
 public NewsManager(INewsDal newsDal, IMapper mapper, IGenericDal <Category> genericDalCategory)
 {
     _newsDal            = newsDal;
     _mapper             = mapper;
     _genericDalCategory = genericDalCategory;
 }
Exemplo n.º 7
0
 public NewsManager(INewsDal newsDal)
 {
     _newsDal = newsDal;
 }
Exemplo n.º 8
0
 public NewsService(INewsDal newsDal, ILogFactory logFactory) : base(newsDal, logFactory)
 {
     _newsDal = newsDal;
 }
Exemplo n.º 9
0
 static NewsManage()
 {
     _newsDal      = DependencyResolver.Current.GetService <INewsDal>();
     _newsTypeDal  = DependencyResolver.Current.GetService <INewsTypeDal>();
     _newsTypeList = _newsTypeDal.QueryAll();
 }
 public NewsManager(INewsDal context)
 {
     _context = context;
 }
Exemplo n.º 11
0
 public NewsController()
 {
     _newsDal     = DependencyResolver.Current.GetService <INewsDal>();
     _newsTypeDal = DependencyResolver.Current.GetService <INewsTypeDal>();
 }
Exemplo n.º 12
0
 public HomeController(INewsDal newsDal)
 {
     _newsDal = newsDal;
 }