コード例 #1
0
 public IActionResult MovieOnDate(string date) //Shows the lost of movies on a perticular date
 {
     if (ModelState.IsValid)
     {
         MovieList = MovieDBObj.MovieDate(date);
         int logged = Convert.ToInt32(HttpContext.Session.GetInt32("Logged"));
         return(View(MovieList));
     }
     else
     {
         return(RedirectToAction("Home", "Movie"));
     }
 }