// GET: HG_Items index public ActionResult Index() { HG_Items Objitem = new HG_Items(); List <HG_Items> Listitem = Objitem.GetAll(); return(View(Listitem)); }
public ActionResult ItemAvaiBility() { HG_Items Objitem = new HG_Items(); List <HG_Items> Listitem = Objitem.GetAll(); Listitem = Listitem.OrderByDescending(x => x.ItemAvaibility).ToList(); return(View(Listitem)); }
//Addon Items Index public ActionResult AddOnItmIndex(int CatId) { HG_Items Objitem = new HG_Items(); List <HG_Items> Listitem = Objitem.GetAll(Type: 2); Listitem = Listitem.FindAll(x => x.CategoryID == CatId); return(View(Listitem)); }