Esempio n. 1
0
        // GET: Ethenics/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            var ethenic = Service.GetById(id.GetValueOrDefault());

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