예제 #1
0
        public ActionResult BrandShoe(string id)
        {
            ViewBag.Title = id + "'s Shoes";
            List <Shoe> shoes = Shoe.GetAllShoes().FindAll(x => x.Brand.ToLower().Trim() == id.ToLower().Trim());

            return(PartialView("Shoes", shoes));
        }
예제 #2
0
 public ActionResult AllShoes()
 {
     ViewBag.Title = "AllShoe's";
     return(PartialView("Shoes", Shoe.GetAllShoes()));
 }