public void Save(Tarea tarea)
        {
            var db = SimulacionDBSingleton.GetInstance();

            db.repo.Add(tarea);
            db.repo.ForEach(x => Console.WriteLine(x.Nombre));
        }
 public static SimulacionDBSingleton GetInstance()
 {
     if (instance == null)
     {
         instance = new SimulacionDBSingleton();
     }
     return(instance);
 }