Esempio n. 1
0
 public MLFSReportsController(ILogger <IntelligentOfficeController> logger, XLantDbContext context)
 {
     _logger         = logger;
     _periodData     = new MLFSReportingPeriodRepository(context);
     _salesData      = new MLFSSaleRepository(context);
     _incomeData     = new MLFSIncomeRepository(context);
     _advisorData    = new MLFSAdvisorRepository(context);
     _adjustmentData = new MLFSDebtorAdjustmentRepository(context);
     _budgetData     = new MLFSBudgetRepository(context);
     _clientData     = new MLFSClientRepository();
 }
 public MLFSIncomeRepository(XLantDbContext db)
 {
     _db          = db;
     _clientData  = new MLFSClientRepository();
     _advisorData = new MLFSAdvisorRepository(db);
 }