Example #1
0
 public void AddClosedDebt(Debt debt)
 {
     if (debt.IsClosed)
     {
         closedDebts.Add(debt);
     }
 }
Example #2
0
 public void AddStarredDebt(Debt debt)
 {
     if (debt.IsStarred)
     {
         starredDebts.Add(debt);
     }
 }
Example #3
0
 public void RemoveDebt(Debt debt)
 {
     actingDebts.Remove(debt);
     starredDebts.Remove(debt);
     closedDebts.Remove(debt);
     outstandingDebts.Remove(debt);
 }
Example #4
0
 public void AddDebt(Debt debt)
 {
     if (debt.IsClosed)
     {
         closedDebts.Add(debt);
     }
     if (debt.IsStarred)
     {
         starredDebts.Add(debt);
     }
     if (debt.IsOut)
     {
         outstandingDebts.Add(debt);
     }
     actingDebts.Add(debt);
 }
Example #5
0
 public void RemoveStarredDebt(Debt debt)
 {
     starredDebts.Remove(debt);
 }