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; }
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; }
public TransactionManager() { db = new FinanceDB(); }
public TotalCashManager() { db = new FinanceDB(); }
public LimitManager() { db = new FinanceDB(); }