public void addDomesticas(Domesticas d) { if (this.toDoList == null) { this.toDoList = new List <Domesticas>(); } this.toDoList.Add(d); }
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; }