public ProductGalleryController() { vm = new ProductGalleryVM(); _repoPosition = new PositionGalleryDAO(); _repoSectionGallery = new SectionGalleryDAO(); _repoSectionContent = new SectionContentDAO(); }
public AccessoryController() { //view-model _vm = new ProductVM(); //repository _repository = new ProductDAO(); _repoCategories = new CategoryDAO(); _repoManufacturer = new ManufacturerDAO(); _repoDiscount = new DiscountDAO(); _repoRelatedProduct = new RelatedProductDAO(); _repoSectionGallery = new SectionGalleryDAO(); }