Example #1
0
 public Reporter(DateTime startDate, DateTime endDate, List<Transaction> transactions, List<BudgetLimit> limits, List<TotalCash> totalCashes, List<Category> categories)
 {
     db = new FinanceDB();
     this.AllTransactions = transactions;
     this.Transactions = transactions.Where(t => t.AffectsMonthlyLimit).ToList();
     this.Limits = limits;
     this.StartDate = startDate;
     this.EndDate = endDate;
     this.TotalCashes = totalCashes;
     this.Categories = categories;
 }
Example #2
0
 public TransactionManager()
 {
     db = new FinanceDB();
 }
Example #3
0
 public TotalCashManager()
 {
     db = new FinanceDB();
 }
Example #4
0
 public LimitManager()
 {
     db = new FinanceDB();
 }