Esempio n. 1
0
        // GET: StatusOcorrencia/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            statusOcorrencia statusOcorrencia = db.statusOcorrencia.Find(id);

            if (statusOcorrencia == null)
            {
                return(HttpNotFound());
            }
            return(View(statusOcorrencia));
        }