public CategoryOverviewModel() { Children = new List <CategoryOverviewModel>(); FeaturedItems = new List <CategoryFeaturedItemOverviewModel>(); FeaturedBrands = new List <CategoryOverviewModel>(); ActiveWhatsNew = new CategoryWhatsNew(); Banners = new List <LargeBanner>(); }
public void UpdateCategoryWhatsNew(CategoryWhatsNew whatsNew) { _categoryWhatsNewRepository.Update(whatsNew); }
public int InsertCategoryWhatsNew(CategoryWhatsNew item) { return(_categoryWhatsNewRepository.Create(item)); }