Example #1
0
 public void addDomesticas(Domesticas d)
 {
     if (this.toDoList == null)
     {
         this.toDoList = new List <Domesticas>();
     }
     this.toDoList.Add(d);
 }
Example #2
0
 public void removeDomestica(Domesticas d)
 {
     if (toDoList != null)
     {
         foreach (Domesticas dom in toDoList)
         {
             if (dom.domesticaID.Equals(d.domesticaID))
             {
                 toDoList.Remove(dom);
             }
         }
     }
 }
 public UsersForDomesticas(Domesticas domesticas, User user)
 {
     this.domesticas = domesticas;
     this.user       = user;
 }