Beispiel #1
0
        public IEnumerable <Series> Get()
        {
            var series = _seriesRepository.GetFeaturedItems().Cast <Series>();

            return(series);
        }
        // GET: Home
        public ActionResult Index()
        {
            var model = new vmShow(_seriesRepository.GetFeaturedItems(), _movieRepository.GetFeaturedItems());

            return(View(model));
        }