public virtual ActionResult Editar(int id) { var reserva = TReservation.Load(id); ViewBag.Client = TClient.ListAll().ToSelectList(x => x.Id, x => x.Name); ViewBag.Iten = TMovie.ListAll().ToSelectList(x => x.Id, x => x.Name); ViewBag.Sale = TSale.ListAll().ToSelectList(x => x.Id, x => x.EnumStatusSale); return(View(reserva)); }
public virtual ActionResult ListarCliente(int id) { var reservation = TReservation.Load(id); return(PartialView("_listar-reserva", reservation)); }
public virtual ActionResult Excluir(int id) { var reserva = TReservation.Load(id); return(PartialView("_excluir", reserva)); }