Exemple #1
0
 private void AdicionarCelula(string key, Celula celula)
 {
     Celulas.Add(new Celula()
     {
         Key       = key,
         Nome      = celula.Nome,
         Descricao = celula.Descricao,
         Endereco  = celula.Endereco
     });
 }
Exemple #2
0
        private void RemoverCelula(string key)
        {
            var celula = Celulas.FirstOrDefault(x => x.Key == key);

            Celulas.Remove(celula);
        }