public PartialViewResult UpdateEducation(Models.Education e) { var edu = new Models.Education() { ID = e.ID, University = HttpUtility.UrlDecode(e.University), Faculty = HttpUtility.UrlDecode(e.Faculty), Department = HttpUtility.UrlDecode(e.Department), Date = HttpUtility.UrlDecode(e.Date) }; var tblEdu = new TblEducation(); tblEdu.Update(edu); return PartialView("_PartialEducation", tblEdu.GetAll()); }
public PartialViewResult RemoveEducation(int id) { var edu = new Models.Education() { ID = id }; var tblEdu = new TblEducation(); tblEdu.Delete(edu); return PartialView("_PartialEducation", tblEdu.GetAll()); }
public PartialViewResult GetEducations() { var tblEdu = new TblEducation(); return PartialView("_PartialEducation", tblEdu.GetAll()); }