// GET: Educations/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Education education = _educationRepository.GetById(id); if (education == null) { return(HttpNotFound()); } return(View(education)); }
public EmployeeEducationDetail GetById(object Id) { return(_IEducationRepository.GetById(Id)); }
public BLModel.Education GetEducationByID(int educationID) { return((BLModel.Education) new BLModel.Education().InjectFrom(_eduRepository.GetById(educationID))); }
public Education GetById(int id) { return(rep.GetById(id)); }