コード例 #1
0
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Experiences experiences = experienceManager.Find(x => x.Id == id.Value);

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