示例#1
0
        public ActionResult Edit()
        {
            WatchedList model = new WatchedList(_db, CurrentUserId);
            model.EditMode = true;

            return View("Index", model);
        }
示例#2
0
        public ActionResult Index(string searchSeriesName)
        {
            //search for series.
            WatchedList model = new WatchedList(_db, CurrentUserId);
            model.SearchResults = TVDBRepository.GetTvdbHandler().SearchSeries(searchSeriesName);

            //System.Web.Mvc.Html.LinkExtensions.ActionLink(

            return View(model);
        }
示例#3
0
        public ActionResult Index()
        {
            WatchedList model = new WatchedList(_db, CurrentUserId);

            return View(model);
        }
示例#4
0
        public ActionResult Series(long Id)
        {
            WatchedList model = new WatchedList(_db, CurrentUserId, Id);

            return View("Index", model);
        }