Пример #1
0
 public void Initialize(int ProjID)
 {
     try
     {
         budservice  = new BudgetService();
         reppers     = budservice.GetFinPeriods(ProjID);
         _finartcats = budservice.GetFinArticleCategory(ProjID);
         //We aggregate the budget/transactions.
         aggrv2              = new BudgetAggregateService(_finartcats.ToList(), reppers.ToList());
         catrepview          = aggrv2.AccumulateCatRep();
         budpayreportservice = new BudgetPaymentReportService(reppers.ToList(), catrepview);
         bpayrep             = budpayreportservice.GenerateReports2(0);
     }
     catch
     {
     }
 }
Пример #2
0
 //empty contrusctor;
 public FinanceResults()
 {
     budservice = new BudgetService();
 }