Пример #1
0
        // GET: HG_Items index

        public ActionResult Index()
        {
            HG_Items        Objitem  = new HG_Items();
            List <HG_Items> Listitem = Objitem.GetAll();

            return(View(Listitem));
        }
Пример #2
0
        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));
        }
Пример #3
0
        //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));
        }