Ejemplo n.º 1
0
 public Times GetTimes(string userEmail)
 {
     Times times = new Times();
     foreach(Effort eff in this){
         foreach(Time time in eff.Times){
             if (time.User == userEmail){
                 times.Add(time);
             }
         }
     }
     return times;
 }
Ejemplo n.º 2
0
 public Times GetTimes(string userEmail)
 {
     Times times = new Times();
     foreach(Rollout roll in this){
         foreach(Time time in roll.Times){
             if (time.User == userEmail){
                 times.Add(time);
             }
         }
     }
     return times;
 }