// GET: SystemLanguageCode/Details/5 public ActionResult Details(string id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } SystemLanguageCodePoco systemLanguageCodePoco = systemLanguageLogic.GetSingle(l => l.LanguageID == id); //db.SystemLanguageCodes.Find(id); if (systemLanguageCodePoco == null) { return(HttpNotFound()); } return(View(systemLanguageCodePoco)); }
// GET: Jobs/Details/5 public ActionResult Details(Guid?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } CompanyJobDescriptionPoco companyjob = _EF.GetSingle(c => c.Id == id);//db.CompanyJobs.Find(id); if (companyjob == null) { return(HttpNotFound()); } return(View(companyjob)); }
// GET: ApplicantEducation/Details/5 public ActionResult Details(Guid?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } //ApplicantEducationPoco applicantEducationPoco = db.ApplicantEducations.Find(id); ApplicantEducationPoco applicantEducationPoco = repo.GetSingle(a => a.Id == id); if (applicantEducationPoco == null) { return(HttpNotFound()); } return(View(applicantEducationPoco)); }
public CoursePoco GetSingle(int id) { return(_eFGenericRepository.GetSingle(student => student.CourseID == id)); }
public StudentPoco GetSingle(int id) { return(_eFGenericRepository .GetSingle(student => student.StudentID == id, s => s.Enrollments)); }
public EnrollmentPoco GetSingle(int id) { return(_eFGenericRepository.GetSingle(studentCourse => studentCourse.EnrollmentID == id)); }