public IActionResult PutAcademicTitles(int id, [FromBody] AcademicTitles data)
        {
            try
            {
                var res = _repository.UpdateAcademicTitles(id, data);

                if (!res)
                {
                    return(Conflict(409));
                }

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