public User DeleteProfessor(string accountId)
        {
            var professor = _professorRepository.DeleteByAccountNumber(accountId);

            if (professor == null)
            {
                throw new NotFoundException("No se encontro el profesor");
            }
            _professorRepository.Save();
            return(professor);
        }