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

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