Beispiel #1
0
        public ActionResult BeautyRoom(string keyWord = "")
        {
            List <Vw_Pet> petList = PetModel.getPetListByisState();

            if (!keyWord.Equals(string.Empty))
            {
                petList = PetModel.getPetListByKeyWord(keyWord).Where(o => o.isState == true).ToList();
            }

            var result = petList.OrderBy(o => o.petSN).ToPagedList();

            return(View(result));
        }