public CategoriesManagementPresenter(ICategoriesManagementView view, ICategoriesServices categoriesServices) : base(view) { if (categoriesServices == null) { throw new ArgumentNullException(nameof(ICategoriesServices)); } this.categoriesServices = categoriesServices; this.View.OnCategoriesGetData += this.View_OnCategoriesGetData; this.View.OnCategoriesUpdateItem += this.View_OnCategoriesUpdateItem; this.View.OnCategoriesDeleteItem += this.View_OnCategoriesDeleteItem; this.View.OnCategoriesAddItem += this.View_OnCategoriesAddItem; }
public NewsPresenter(INewsView view, INewsServices newsServices, ICategoriesServices categoriesServices) : base(view) { if (newsServices == null) { throw new ArgumentNullException(nameof(INewsServices)); } if (categoriesServices == null) { throw new ArgumentNullException(nameof(ICategoriesServices)); } this.newsServices = newsServices; this.categoriesServices = categoriesServices; this.View.OnCategoriesGetData += this.View_OnCategoriesGetData; this.View.OnNewsGetData += this.View_OnNewsGetData; this.View.OnNewsByCategoryGetData += this.View_OnNewsByCategoryGetData; }
public AddController( IAddsServices service, IMapper mapper, ICategoriesServices categoriesService, IProvincesServices provinceServices, ICitiesServices citiesServices) { Guard.WhenArgument(service, "service").IsNull().Throw(); Guard.WhenArgument(mapper, "mapper").IsNull().Throw(); Guard.WhenArgument(categoriesService, "categoriesService").IsNull().Throw(); Guard.WhenArgument(provinceServices, "provinceServices").IsNull().Throw(); Guard.WhenArgument(citiesServices, "citiesServices").IsNull().Throw(); this.addService = service; this.mapper = mapper; this.categoriesService = categoriesService; this.provinceServices = provinceServices; this.citiesServices = citiesServices; }
public CategoriesController(ICategoriesServices categoriesServices) { this.categoriesServices = categoriesServices; }
public CategoriesController(ICategoriesServices iCategoriesServices) { _categoriesServices = iCategoriesServices; }
public CategoriesController(ICategoriesServices categoriesServices) { this.categories = categoriesServices; }
public ArticlesController(IArticlesServices articleService, ICategoriesServices categoriesServices) { this.ArticlesServices = articleService; this.CategoriesServices = categoriesServices; }
public ManageCategories() { this.categoriesServices = NinjectWebCommon.Kernel.Get <ICategoriesServices>(); }
public ProductsController(IProductsServices iProductsServices, ICategoriesServices icategoriesServices) { _productsService = iProductsServices; _categoriesServices = icategoriesServices; }
public ViewCategoriesPresenter(IViewCategoriesView view, ICategoriesServices categoriesServices) : base(view) { this.categoriesServices = categoriesServices; this.View.OnCategoriesGetData += this.View_OnCategoriesGetData; }
public HomeController(IArticlesServices articleService, ICategoriesServices categoriesService) { this.CategoriesServices = categoriesService; this.ArticlesServices = articleService; }
public DevicesController(IDevicesServices devicesServices, ICategoriesServices categoriesServices) { this.categories = categoriesServices; this.devices = devicesServices; }
public NewsController(INewsServices newsServices, ICategoriesServices categoriesServices) { this.newsServices = newsServices; this.categoriesServices = categoriesServices; }
public CategoriesController(ICategoriesServices service) { this.service = service; }
public CategoriesController(ICategoriesServices services) { _services = services; }
public CategoriesController(ICategoriesServices categoriesService) { this.CategoriesServices = categoriesService; }