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