public ProductRepository() { db = new MYProjectContext(); products = db.Set <Product>(); showcaseProducts = db.Set <ShowcaseProduct>(); productImageRepo = new ProductImageRepository(); categoryRepo = new CategoryRepository(); brandRepo = new BrandRepository(); productCategoryRepo = new ProductCategoryRepository(); }
public OrderRepository() { db = new MYProjectContext(); orders = db.Set <Order>(); orderStatusyRepo = new OrderStatusiesRepository(); virtualRepo = new VirtualPosBankRepository(); }
public ShowcaseProductRepository() { db = new MYProjectContext(); showcaseproducts = db.Set <ShowcaseProduct>(); showcaseRepository = new ShowcaseRepository(); productRepository = new ProductRepository(); productImageRepository = new ProductImageRepository(); }
public OrderStatusiesRepository() { db = new MYProjectContext(); orderStatusies = db.Set <OrderStatusy>(); }
public ContentPageRepository() { db = new MYProjectContext(); contentPages = db.Set <ContentPage>(); }
public SettingRepository() { db = new MYProjectContext(); settings = db.Set <Setting>(); }
public DistrictRepository() { db = new MYProjectContext(); districts = db.Set <District>(); }
public ProductCategoryRepository() { db = new MYProjectContext(); productCategories = db.Set <ProductCategory>(); }
public CustomerRepository() { db = new MYProjectContext(); customers = db.Set <Customer>(); }
public CategoryRepository() { db = new MYProjectContext(); categories = db.Set <Category>(); categoryModel = db.Set <CategoryModel>(); }
public VirtualPosBankRepository() { db = new MYProjectContext(); virtualPosBank = db.Set <VirtualPosBank>(); }
public AdministratorRepository() { db = new MYProjectContext(); administrators = db.Set <Administrator>(); }
public ShowcaseRepository() { db = new MYProjectContext(); showcases = db.Set <Showcase>(); }
public CityRepository() { db = new MYProjectContext(); citys = db.Set <City>(); }
public ProductImageRepository() { db = new MYProjectContext(); productImages = db.Set <ProductImage>(); }
public BannerRepository() { db = new MYProjectContext(); banners = db.Set <Banner>(); }
public BrandRepository() { db = new MYProjectContext(); brands = db.Set <Brand>(); }
public SliderRepository() { db = new MYProjectContext(); sliders = db.Set <Slider>(); }