public IActionResult DeleteAcademicDegrees(int id)
        {
            try
            {
                var res = _repository.DeleteAcademicDegreesById(id);

                return(Ok(res));
            }
            catch (Exception error)
            {
                return(BadRequest(error));
            }
        }