예제 #1
0
        public ActionResult DeleteEducation(Guid id)
        {
            var eduRepo = new EducationRepository();

            eduRepo.DeleteEducation(id);

            return(RedirectToAction("/", new { mode = "EditEducation" }));
        }
 public EducationModel DeleteEducation(long educationId)
 {
     try
     {
         return(_educationRepository.DeleteEducation(educationId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }