public decimal? GetDepartmentBudgetRemain(int month, int year, Department department)
 {
     Budget deptBudget = new Budget(department.MonthlyBudget);
     deptBudget.Spent = budgetTrackerDAL.GetDepartmentMonthlySpendCommitted(month, year, department);
     return (deptBudget.RemainingBudget);
 }
 public CompanyBudgetService(decimal budgetAmount)
 {
     budgetTrackerDAL = new BudgetDAL();
     Budget = new Budget(budgetAmount);
 }
 public CompanyBudgetService(decimal budgetAmount, IBudgetDAL budgetDAL)
 {
     budgetTrackerDAL = budgetDAL;
     Budget = new Budget(budgetAmount);
 }
 public decimal? GetDepartmentBudgetRemain(int month, int year, Department department)
 {
     Budget deptBudget = new Budget(department.MonthlyBudget);
     deptBudget.Spent = budgetTrackerDAL.TotalExpenseAmountByDept(department.DepartmentId);
     return (deptBudget.RemainingBudget);
 }
 public DepartmentBudgetService(Department department, IBudgetDAL budgetDal)
 {
     this.department = department;
     Budget = new Budget(department.MonthlyBudget);
     budgetTrackerDAL = budgetDal;
 }
 public DepartmentBudgetService(Department department)
 {
     this.department = department;
     Budget = new Budget(department.MonthlyBudget);
     budgetTrackerDAL = new BudgetDAL();
 }
 public MockBudgetService(Department department)
 {
     this.department = department;
      Budget = new Budget(department.MonthlyBudget);
 }
 public BudgetTracker(Budget budget)
 {
     Budget = budget;
 }