Ejemplo n.º 1
0
        // GET: WorkTypes/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            WorkType workType = _workTypeService.Find(id);

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