示例#1
0
        public ActionResult Details(int?id)
        {
            var nurse = _nurseService.FindById(id).ProjectToSingleOrDefault <NurseViewModel>();

            if (nurse != null)
            {
                return(View(nurse));
            }
            return(HttpNotFound());
        }