public HomeController(IDepartmentBusiness departmentBusiness, INewsBusiness newsBusiness, IDoctorBusiness doctorBusiness, IPromotionBusiness promotionBusiness) { this._departmentBusiness = departmentBusiness; this._doctorBusiness = doctorBusiness; this._newsBusiness = newsBusiness; this._promotionBusiness = promotionBusiness; }
public HomeController(IBannerBusiness bannerBusiness, ITourBusiness tourBusiness, INewsBusiness newsBusiness, IPromotionBusiness promotionBusiness) { this._bannerBusiness = bannerBusiness; this._newsBusiness = newsBusiness; this._tourBusiness = tourBusiness; this._promotionBusiness = promotionBusiness; }
public HomeController(IProductCategoryBusiness productCategoryBusiness, IProductBusiness productBusiness, IPromotionBusiness promotionBusiness, INewsBusiness newsBusiness, IBannerBusiness bannerBusiness) { this._productCategory = productCategoryBusiness; this._productBusiness = productBusiness; this._promotionBusiness = promotionBusiness; this._newsBusiness = newsBusiness; this._bannerBusiness = bannerBusiness; }
public NewsController(IAccountBusiness accountBusiness, INewsBusiness newsBusiness, IStringLocalizer <BaseController> localizer , IDefinitionsBusiness definitionBusiness) : base(accountBusiness, localizer) { _newsBusiness = newsBusiness; _localizer = localizer; _accountBusiness = accountBusiness; _definitionBusiness = definitionBusiness; }
public HomeController(ISliderBusiness sliderBusiness, IProductBusiness productBusiness, INewsBusiness newsBusiness, ISoftwareBusiness softwareBusiness, IBookBusiness bookBusiness) { _sliderBusiness = sliderBusiness; _productBusiness = productBusiness; _newsBusiness = newsBusiness; _softwareBusiness = softwareBusiness; _bookBusiness = bookBusiness; }
public NewsController(INewsBusiness newsBusiness) { this._newsBusiness = newsBusiness; }
public NewsController() { _service = new NewsBusiness(); //_eventBus = new RabbitMQEventBus("test"); }
public NewsController() { _businessNews = new NewsBusiness(new ModelStateWrapper(this.ModelState), new UnitOfWork()); _businessUser = new UserBusiness(new UnitOfWork()); }
public NewsController(INewsBusiness bus) { business = bus; }
public NewsAbstractController() { _service = new NewsBusiness(); }