public ActionResult Create(long?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } SeanceDomainModel currentSeance = _seanceService.ReadById(id); if (currentSeance == null) { return(new HttpStatusCodeResult(HttpStatusCode.NotFound)); } ViewBag.SeanceId = id; ViewBag.Hall = currentSeance.Hall; ViewBag.PaymentMethods = _paymentMethodService.GetSelectListItems(); return(View()); }