public IActionResult Result(int movieId) { var userName = HttpContext.User.Identity.Name.ToString(); var movie = _contextProvider.CheckoutMovie(movieId, userName); return(View(movie)); }