Ejemplo n.º 1
0
        // GET: /Personnel/BloodType/Details/5
        public ActionResult Details(long?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            BloodType bloodType = _bloodTypeService.FindById((int)id);;

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