Exemplo n.º 1
0
 public HomeController(IDepartmentBusiness departmentBusiness, INewsBusiness newsBusiness, IDoctorBusiness doctorBusiness, IPromotionBusiness promotionBusiness)
 {
     this._departmentBusiness = departmentBusiness;
     this._doctorBusiness     = doctorBusiness;
     this._newsBusiness       = newsBusiness;
     this._promotionBusiness  = promotionBusiness;
 }
Exemplo n.º 2
0
 public HomeController(IBannerBusiness bannerBusiness, ITourBusiness tourBusiness, INewsBusiness newsBusiness, IPromotionBusiness promotionBusiness)
 {
     this._bannerBusiness    = bannerBusiness;
     this._newsBusiness      = newsBusiness;
     this._tourBusiness      = tourBusiness;
     this._promotionBusiness = promotionBusiness;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 public NewsController(IAccountBusiness accountBusiness, INewsBusiness newsBusiness, IStringLocalizer <BaseController> localizer
                       , IDefinitionsBusiness definitionBusiness)
     : base(accountBusiness, localizer)
 {
     _newsBusiness       = newsBusiness;
     _localizer          = localizer;
     _accountBusiness    = accountBusiness;
     _definitionBusiness = definitionBusiness;
 }
Exemplo n.º 5
0
 public HomeController(ISliderBusiness sliderBusiness,
                       IProductBusiness productBusiness,
                       INewsBusiness newsBusiness,
                       ISoftwareBusiness softwareBusiness,
                       IBookBusiness bookBusiness)
 {
     _sliderBusiness   = sliderBusiness;
     _productBusiness  = productBusiness;
     _newsBusiness     = newsBusiness;
     _softwareBusiness = softwareBusiness;
     _bookBusiness     = bookBusiness;
 }
Exemplo n.º 6
0
 public NewsController(INewsBusiness newsBusiness)
 {
     this._newsBusiness = newsBusiness;
 }
Exemplo n.º 7
0
        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;
        }
Exemplo n.º 10
0
 public NewsAbstractController()
 {
     _service = new NewsBusiness();
 }