private void ClosedCmd_Execute() { NotaFiscal = null; Produto = new ProdutoVO(); ProdutosCombo.Clear(); Destinatarios.Clear(); }
private async void PopularListaDestinatarios() { Destinatarios.Clear(); var destinatariosDB = await _destinatarioService.GetAllAsync(); foreach (var dest in destinatariosDB) { Destinatarios.Add((DestinatarioModel)dest); } }
public void fillDestinatarios() { if (Destinatarios == null) { Destinatarios = new Dictionary <int, string>(); } Destinatarios.Clear(); Destinatarios.Add(1, "*****@*****.**"); Destinatarios.Add(2, "*****@*****.**"); Destinatarios.Add(3, "*****@*****.**"); Destinatarios.Add(4, "*****@*****.**"); Destinatarios.Add(5, "*****@*****.**"); Destinatarios.Add(6, "*****@*****.**"); Destinatarios.Add(7, "*****@*****.**"); Destinatarios.Add(8, "*****@*****.**"); Destinatarios.Add(9, "*****@*****.**"); Destinatarios.Add(10, "*****@*****.**"); Destinatarios.Add(11, "*****@*****.**"); Destinatarios.Add(12, "*****@*****.**"); }