public IActionResult PutDiplomaDocument(int id, [FromBody] DiplomaDocument data)
        {
            try
            {
                var res = _repository.UpdateDiplomaDocument(id, data);

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

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