public NewsManager(INewsDal newsDal, IMapper mapper, INewsSubScreenDal newsSubScreenDal, IHttpContextAccessor httpContextAccessor) { this.httpContextAccessor = httpContextAccessor; this.newsSubScreenDal = newsSubScreenDal; this.mapper = mapper; this.newsDal = newsDal; }
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; }
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; }
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; }
public NewsManager(INewsDal newsDal, IMapper mapper, IGenericDal <Category> genericDalCategory) { _newsDal = newsDal; _mapper = mapper; _genericDalCategory = genericDalCategory; }
public NewsManager(INewsDal newsDal) { _newsDal = newsDal; }
public NewsService(INewsDal newsDal, ILogFactory logFactory) : base(newsDal, logFactory) { _newsDal = newsDal; }
static NewsManage() { _newsDal = DependencyResolver.Current.GetService <INewsDal>(); _newsTypeDal = DependencyResolver.Current.GetService <INewsTypeDal>(); _newsTypeList = _newsTypeDal.QueryAll(); }
public NewsManager(INewsDal context) { _context = context; }
public NewsController() { _newsDal = DependencyResolver.Current.GetService <INewsDal>(); _newsTypeDal = DependencyResolver.Current.GetService <INewsTypeDal>(); }
public HomeController(INewsDal newsDal) { _newsDal = newsDal; }