public IHttpActionResult Get() { try { List <Informe> todos = InformeBLL.List(); return(Content(HttpStatusCode.OK, todos)); } catch (Exception ex) { return(Content(HttpStatusCode.BadRequest, ex)); } }
// GET: Informes public ActionResult Index() { return(View(InformeBLL.List())); }
public ActionResult DeleteConfirmed(int id) { InformeBLL.List(); return(RedirectToAction("Index")); }