// GET: Progress
        public ActionResult Index()
        {
            if (SingletonData.Singleton.StoreReparationInProgressInitalized == false)
            {
                SingletonData.Singleton.StoreReparationInProgress           = new MockDataServiceReparationInProgress();
                SingletonData.Singleton.StoreReparationInProgressInitalized = true;
            }

            OverviewViewmodel countbar = new OverviewViewmodel();

            foreach (var item in SingletonData.Singleton.StoreReparationInProgress.ReturnList().Where(x => x.status.Value == "in afwachting"))
            {
                countbar.aantalinafwachting = countbar.aantalinafwachting + 1;
            }
            foreach (var item in SingletonData.Singleton.StoreReparationInProgress.ReturnList().Where(x => x.status.Value == "wachten op onderdelen"))
            {
                countbar.aantalwachtoponderdelen = countbar.aantalwachtoponderdelen + 1;
            }
            foreach (var item in SingletonData.Singleton.StoreReparationInProgress.ReturnList().Where(x => x.status.Value == "in behandeling"))
            {
                countbar.aantalinbehandeling = countbar.aantalinbehandeling + 1;
            }
            foreach (var item in SingletonData.Singleton.StoreReparationInProgress.ReturnList().Where(x => x.status.Value == "klaar"))
            {
                countbar.aantaalklaar = countbar.aantaalklaar + 1;
            }

            ViewBag.Bar = countbar;
            return(View(SingletonData.Singleton.StoreReparationInProgress.ReturnList()));
        }
 public MockDataServiceOverview()
 {
     items = new OverviewViewmodel()
     {
         id                      = Guid.NewGuid().ToString(),
         aantaalklaar            = SingletonData.Singleton.StoreReparationDone.CountItemsList(),
         aantalinafwachting      = SingletonData.Singleton.StoreClientRequest.CountItemsList(),
         aantalinbehandeling     = SingletonData.Singleton.StoreReparationInProgress.CountInBehandeling(),
         aantalwachtoponderdelen = SingletonData.Singleton.StoreReparationInProgress.CountWachtenOpOnderdelen()
     };
 }