public CategoryController() { _categoryRepository = new CategoryRepository(); _filterRepository = new FilterRepository(); _recommendationRepository = new RecommendationRepository(); _globalRepository = new DBFirstDAL.Repositories.GlobalOptionRepository(); _routeItemRepository = new RouteItemRepository(); }
public ProductController() { _productRepository = new ProductRepository(); _enumRepositopy = new EnumValueRepository(); _categoryRepository = new CategoryRepository(); _recommendationRepository = new RecommendationRepository(); _globalOptionRepository = new GlobalOptionRepository(); _filterRepository = new FilterRepository(); _routeItemRepository = new RouteItemRepository(); }
// GET: GlobalOption public GlobalOptionController() { _globalOptionRepository = new GlobalOptionRepository(); }