public BookingsStagesAnalysis(ICompanyDBRepository _compDbRepo, IThirdpartyDBrepository _tpRepo, IPerformance _perfRepo)
        {
            compDbRepo = _compDbRepo;
            tpRepo     = _tpRepo;
            perfRepo   = _perfRepo;



            // used by the select in the view
            compSpec.DptsList["All"]     = compSpec.DptsList.SelectMany(kvp => kvp.Value).ToList();
            compSpec.bookingTypes["All"] = compSpec.bookingTypes.SelectMany(kvp => kvp.Value).ToList();
        }
Beispiel #2
0
 public Performance(ICompanyDBRepository _compDbRepo, IThirdpartyDBrepository _tpRepo)
 {
     CompSpec   = new CompanySpecifics();
     compDbRepo = _compDbRepo;
     tpRepo     = _tpRepo;
 }
Beispiel #3
0
 public SuppliersAnalysis(IThirdpartyDBrepository _tpRepo)
 {
     tpRepo = _tpRepo;
 }
Beispiel #4
0
 public PerformanceOverviewController(ICompanyDBRepository _compDbRepo, IThirdpartyDBrepository _tpRepo)
 {
     perfRepo = perfRepo ?? new Performance(_compDbRepo, _tpRepo);
 }