Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
// GET: Glasses/Delete/5 public ActionResult Delete(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Glass glass = _repo.GetGlassById(id.Value); if (glass == null) { return(HttpNotFound()); } return(View(glass)); }