Пример #1
0
        public IActionResult Index()
        {
            HomePageModel model = new HomePageModel();

            model.lstsale     = oItemservice.GetSale();
            model.lstNewItems = oItemservice.GetAll().Take(5);
            //model.lstBestSeller = model.lstAlltems.Take(3);
            model.lstSliderImages = oSlidersservice.GetAll();
            return(View(model));
        }
Пример #2
0
 public IActionResult List()
 {
     return(View(oSlidersservice.GetAll()));
 }