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 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; }