public ItemControl(IDbContextScopeFactory dbContextScopeFactory, IItemRepository itemRepository, IImportControl importControl, IFileControl fileControl, IItemCategoryControl itemCategoryControl, IPropertyControl propertyControl) { _dbContextScopeFactory = dbContextScopeFactory ?? throw new ArgumentNullException("item control broke"); _ItemRepository = itemRepository ?? throw new ArgumentNullException("item control broke"); _FileControl = fileControl ?? throw new ArgumentNullException("item control broke"); _ImportControl = importControl ?? throw new ArgumentNullException("item control broke"); _ItemCategoryControl = itemCategoryControl ?? throw new ArgumentNullException("item control broke"); _IPropertyControl = propertyControl ?? throw new ArgumentNullException("item control broke"); }
public AdminController( IItemDistributionControl itemDistributionControl, IItemCategoryControl itemCategoryControl, IItemControl itemControl, IPropertyControl propertyControl, IClientProfileControl clientProfileControl, IAdminControl adminControl, IOrderControl orderControl) { _itemDistributionControl = itemDistributionControl; _itemControl = itemControl; _itemCategoryControl = itemCategoryControl; _propertyControl = propertyControl; _clientProfileControl = clientProfileControl; _adminControl = adminControl; _orderControl = orderControl; }
public MainController(IItemCategoryControl itemCategoryControl, IItemDistributionControl itemDistributionControl) { _itemCategoryControl = itemCategoryControl; _itemDistributionControl = itemDistributionControl; }