public ActionResult Common() { var list = new DARKEDENEntities(); var items = list.GoodsListInfoes.Where(m => m.Race == "COMMON").Take(10); return(View(items.ToList())); }
// GET: Home public ActionResult Slayer() { var list = new DARKEDENEntities(); var items = list.GoodsListInfoes.Where(m => m.Race == "SLAYER").Take(10); return(View(items.ToList())); }
public ActionResult Vampire() { var list = new DARKEDENEntities(); var items = list.GoodsListInfoes.Where(m => m.Race == "VAMPIRE").Take(10); return(View(items.ToList())); }