public IActionResult GetEducation() { try { var res = _repository.GetEducation(); return(Ok(res)); } catch (Exception error) { return(BadRequest(error)); } }