Example #1
0
 public static void Remover(int index, Tarefa tarefa)
 {
     tarefas = Listar();
     tarefas.RemoveAt(index);
     SalvarProps(tarefas);
 }
Example #2
0
 public static void Salvar(Tarefa tarefa)
 {
     tarefas = Listar();
     tarefas.Add(tarefa);
     SalvarProps(tarefas);
 }