// // GET: /Reclamos/Details/5 public ActionResult Details(long id = 0) { Reclamo reclamo = modReclamo.Buscar(id); if (reclamo == null) { return(HttpNotFound()); } ViewBag.TipoReclamo = TipoReclamo.GetNames(typeof(TipoReclamo))[reclamo.IdTipoReclamo]; return(View(reclamo)); }
// // GET: /Reclamos/ public ActionResult Index() { ViewBag.TiposReclamos = TipoReclamo.GetNames(typeof(TipoReclamo)); return(View(modReclamo.Listar())); }