Exemplo n.º 1
0
        // 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));
        }
Exemplo n.º 2
0
 public EmployeeEducationDetail GetById(object Id)
 {
     return(_IEducationRepository.GetById(Id));
 }
Exemplo n.º 3
0
 public BLModel.Education GetEducationByID(int educationID)
 {
     return((BLModel.Education) new BLModel.Education().InjectFrom(_eduRepository.GetById(educationID)));
 }
Exemplo n.º 4
0
 public Education GetById(int id)
 {
     return(rep.GetById(id));
 }