Beispiel #1
0
        public ActionResult Index()
        {
            var posts = _repo.GetNinjasWithClan();

            return(View(posts));
        }
Beispiel #2
0
        // GET: Ninjas
        public ActionResult Index()
        {
            var ninjas = _repo.GetNinjasWithClan();

            return(View(ninjas.ToList()));
        }