public UserController(ICartIManagement cart, IUnitOfWork db, IUserManagement um, IItemInCarts itemInCarts, IProductsManagement productsManagement) { _productsManagement = productsManagement; _itemInCarts = itemInCarts; _cartManagement = cart; _db = db; _um = um; }
public DatabaseWindow() { InitializeComponent(); masstable = new DataGrid[3]; masstable[0] = MainBookTable; masstable[1] = MainСhancelleryTable; masstable[2] = MainMagazineTable; table = new Working_form_Product(masstable); product = new ProductsManagement(); user = new UserManager(); }
public AddItem() { InitializeComponent(); GrupBook.Visibility = Visibility.Collapsed; GrupMagazine.Visibility = Visibility.Collapsed; GrupСhancellery.Visibility = Visibility.Collapsed; massBookObject = new TextBox[] { AuthorBookT, NameBookT, GenreBookT, ManufacturerBookT, MaterialBookT, StorageBookT, PriceBookT }; massMagazineObject = new TextBox[] { NameMagazineT, AuthorMagazineT, TopicMagazineT, StorageMagazineT, GenreMagazineT, ManufacturerMagazineT, AudienceMagazineT, PriceMagazineT }; massСhancelleryObject = new TextBox[] { NameСhancelleryT, StorageСhancelleryT, ManufacturerСhancelleryT, AppointmentСhancelleryT, PriceСhancelleryT }; worcform = new Working_form_Product(); product = new ProductsManagement(); }
public ProductController(IUnitOfWork db, IUserManagement um, IProductsManagement productsManagement) { _um = um; _db = db; _productsManagement = productsManagement; }