public void FeaDataAccess()
        {
            var feaQ       = new FeaPoolingDataAccess();
            var feaFilterQ = new FeaFilteredQueryable();
            var mfe        = GetMainFilterExample();

            List <DayActualEntity> site;
            List <DayActualEntity> fleet;
            List <DayActualEntity> dayActuals;

            using (var db = new MarsDBDataContext())
            {
                var checkOut    = feaFilterQ.GetFeaCheckOut(db, mfe);
                var checkInData = feaFilterQ.GetFeaCheckIn(db, mfe);


                mfe.Branch = "";

                site = feaQ.GetFeaDataWithLabels(checkOut, checkInData,
                                                 Enums.DayActualTime.THREE, true, mfe, db).ToList();
                mfe.Branch = "GELEJ50";
                fleet      = feaQ.GetFeaDataWithLabels(checkOut, checkInData,
                                                       Enums.DayActualTime.THREE, false, mfe, db).ToList();

                dayActuals = feaQ.GetFeaDataWithoutLabels(checkOut, checkInData, Enums.DayActualTime.THREE, mfe, db).ToList();
            }

            TestResultComparison.CheckAllPoolingValues(dayActuals, fleet, site, "GELEJ50");
        }
 public DayActualRepository(IJavaScriptRepository j, Enums.DayActualTime Time)
 {
     JavascriptRepository = j;
     _time            = Time;
     _feq             = new FeaPoolingDataAccess();
     _resCarFilterQ   = new ReservationsFilterCar();
     _resFilterQ      = new ReservationsSiteFilter();
     _reqCi           = new ResActualCIQueryable();
     _reqCo           = new PoolingCheckOutReservations();
     _feaFilterQ      = new FeaFilteredQueryable();
     getFeaData       = GetFeaData;
     getPoolingCIData = GetPoolingCIData;
     getPoolingCOData = GetPoolingCOData;
 }