public CustomerController() { repositoryUser = new CustomerDAO(); repositoryCountry = new CountryDAO(); repositoryUserRole = new CustomerRoleDAO(); vm = new CustomerVM(); }
public HomeController() { _repositoryBanner = new BannerDAO(); _repositoryVideos = new VideosDAO(); _repositoryPartner = new PartnershipDAO(); _repositryNav = new NavigationDao(); _vm = new HomeVM(); }
public CustomerController() { _repositoryUser = new CustomerDAO(); _repositoryCountry = new CountryDAO(); _repositoryUserRole = new CustomerRoleDAO(); _repositryMappingRole = new CustomerMappingRoleDao(); _vm = new CustomerVM(); }
public OrderController() { _repositryOrder = new OrderDao(); _repositryShipping = new ShippingMethodDao(); _repositryPaymentMethod = new PaymentMethodDao(); _vm = new OrderVm(); _reposProduct = new ProductDAO(); _repositoryUser = new CustomerDAO(); _repositoryCountry = new CountryDAO(); _repositryOrderProductVariant = new OrderProductVariantDao(); }
public AccessoriesController() { _vm = new ProductsVM(); _reposProduct = new ProductDAO(); _repositoryPartner = new PartnershipDAO(); IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao(); List <Fly_Navigation> listNav = repositryNav.getAllItems().ToList(); ViewData[StaticVariable.Navigation] = listNav; }
public TechnicalController() { _reposVideo = new VideosDAO(); IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao(); _repositoryPartner = new PartnershipDAO(); _vm = new TechnicalVm(); List <Fly_Navigation> listNav = repositryNav.getAllItems().ToList(); ViewData[StaticVariable.Navigation] = listNav; }
public ProductsController() { //view-model vm = new ProductVM(); //repository repository = new ProductDAO(); _repoCategories = new CategoryDAO(); _repoManufacturer = new ManufacturerDAO(); _repoDiscount = new DiscountDAO(); _repoRelatedProduct = new RelatedProductDAO(); }
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(); }
public ProductController() { _reposProduct = new ProductDAO(); _repositoryPartner = new PartnershipDAO(); _reposVideo = new VideosDAO(); _repositoryUser = new CustomerDAO(); _repositryNav = new NavigationDao(); _vm = new ProductsVM(); List <Fly_Navigation> listNav = _repositryNav.getAllItems().ToList(); ViewData[StaticVariable.Navigation] = listNav; }
public PaymentController() { _repositryOrder = new OrderDao(); _repositryShipping = new ShippingMethodDao(); _repositryPaymentMethod = new PaymentMethodDao(); _vm = new ShopCartVm(); _reposProduct = new ProductDAO(); _repositoryUser = new CustomerDAO(); _repositoryCountry = new CountryDAO(); IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao(); List <Fly_Navigation> listNav = repositryNav.getAllItems().ToList(); ViewData[StaticVariable.Navigation] = listNav; }
public CategoriesController() { repository = new CategoryDAO(); repositoryD = new DiscountDAO(); }
public NavigationController() { _repositryBase = new NavigationDao(); _vm = new NavigationVm(); }
public BlogPostController() { _repos = new BlogPostDAO(); _reposType = new BlogPostTypeDAO(); _vm = new BlogPostVm(); }
public PartnershipController() { repository = new PartnershipDAO(); vm = new PartnershipVM(); }
public TeamController() { _vm = new TeamVm(); _repository = new TeamDao(); }
public ManufacturerController() { repository = new ManufacturerDAO(); repositoryLocalized = new ManufacturerLocalizedDAO(); }
public SpecController() { vm = new ProductGalleryVM(); _repository = new SectionContentDAO(); _repoPositionPos = new PositionGalleryDAO(); }
public BannerTypeController() { repository = new BannerTypeDAO(); }
public DiscountController() { this._repositryBase = new DiscountDAO(); _vm = new DiscountVm(); }
// contructor public BannerController() { _repository = new BannerDAO(); _repoType = new BannerTypeDAO(); _bannerModel = new BannerModel(); }
public UserController() { _country = new CountryDAO(); _repositoryUser = new CustomerDAO(); vm = new UserVM(); }