public ActionResult ProductList() { var data = _iWebSiteHomeManager.GetAllProductInfo().Where(a => a.IsActive).ToList(); ViewBag.ProductCategoryList = _iProductCategoryManager.GetAllProductCategory(); return(View(data)); }
public ActionResult ViewAll() { var productCategory = _iProductCategoryManager.GetAllProductCategory(); return(View(productCategory)); }