public void Delete(int id) { NotaFiscal notaFiscal = _notaFiscalApp.GetById(id); if (notaFiscal != null) { _notaFiscalApp.Remove(notaFiscal); } }