Пример #1
0
        // GET: Applicant/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Applicant applicant = _repository.Find(id);

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