public async Task <Guid> Insert(TipoDocumentoRequestDto requestDto)
        {
            ValidationDto(requestDto);
            var usernameExist = _tipoDocumentoRepositorio
                                .SearchMatching <TipoDocumentoEntity>(x => x.NombreTipoDocumento == requestDto.NombreTipoDocumento)
                                .Any();

            if (usernameExist)
            {
                throw new TipoDocumentonameAlreadyExistException(requestDto.NombreTipoDocumento);
            }

            var response = await _tipoDocumentoRepositorio.Insert(_mapper.Map <TipoDocumentoEntity>(requestDto)).ConfigureAwait(false);

            return(response.Id);
        }