public ActionResult PopularProducts()
        {
            SAPO.BrandInput brand = new SAPO.BrandInput();
            Retrieve <SAPO.BrandInput, SAPO.Brands> retrieve = new Retrieve <SAPO.BrandInput, SAPO.Brands>(new SmartBAL.Brands());
            List <SAPO.Brands> lstbrands = new List <SAPO.Brands>();

            lstbrands = retrieve.ListRetreive(brand);
            return(PartialView("_PopularProducts", lstbrands));
        }
        public ActionResult FeaturedCategory()
        {
            SAPO.BrandInput brand = new SAPO.BrandInput();
            Retrieve <SAPO.BrandInput, SAPO.Brands> retrieve = new Retrieve <SAPO.BrandInput, SAPO.Brands>(new SmartBAL.Brands());
            List <SAPO.Brands> lstbrands = new List <SAPO.Brands>();

            lstbrands = retrieve.ListRetreive(brand);
            return(PartialView("_FeaturedCategory", lstbrands));
        }
        // GET: Calculator
        public ActionResult Index()
        {
            var calculatorModel = new Models.CalculatorModel();
            var menu            = new SAPO.MenuRequest();

            menu.IsShowOnCalculator = true;

            var retrieveCategories = new Retrieve <SAPO.MenuRequest, SAPO.Category>(new Categories());

            calculatorModel.Categories = retrieveCategories.ListRetreive(menu);

            var brand         = new SAPO.BrandInput();
            var retrievebrand = new Retrieve <SAPO.BrandInput, SAPO.Brands>(new SmartBAL.Brands());

            calculatorModel.Brands = retrievebrand.ListRetreive(brand);


            return(View(calculatorModel));
        }