public ActionResult GetAllProducts() { DALProduct dal = new DALProduct(); List <tbl_Product> lst = dal.GetAllProducts(); //RedirectToAction("ViewCategoryName"); return(View(lst)); }
public ActionResult GetAllProducts() { DALProduct dal = new DALProduct(); List <tbl_Product> lst = dal.GetAllProducts(); //RedirectToAction("ViewCategoryName"); return(View(lst)); }