public async Task <NotaFiscalViewModel> CriarNotaFiscal(NotaFiscalViewModel notaFiscalViewModel)
        {
            var notaFiscalEntity = _mapper.Map <NotaFiscalEntity>(notaFiscalViewModel);

            var novaNotaFiscal = await _notaFiscalService.InsertNotaFiscal(notaFiscalEntity);

            return(_mapper.Map <NotaFiscalViewModel>(novaNotaFiscal));
        }