예제 #1
0
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Skill skill = _skillService.FindByIdIncludes(id);

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