public void Salvar(Tarefa tarefa)
 {
     _session.SaveOrUpdate(tarefa);
 }
 public void Salvar(Tarefa tarefa)
 {
     throw new System.NotImplementedException ();
 }
 public void Cancelar(Tarefa tarefa)
 {
     _session.Delete(tarefa);
 }