Exemple #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));
        }
Exemple #2
0
 public ActionResult AllShoes()
 {
     ViewBag.Title = "AllShoe's";
     return(PartialView("Shoes", Shoe.GetAllShoes()));
 }