private void UpgradeWorker(WorkerTypes type) { _store.GoToStore(); var storeItemType = type switch { WorkerTypes.dev => StoreItems.UpskillDeveloper, WorkerTypes.test => StoreItems.UpskillTester, WorkerTypes.ba => StoreItems.UpskillBA, WorkerTypes.founder => StoreItems.UpskillDeveloper }; _store.PurchaseStoreItem(storeItemType); _store.GoToKanban(); _board.SelectPurchasedStoreItem(type); _workers.GetLowestSkillWorker(type)?.SelectWithWait(TimeSpan.FromSeconds(10)); _state.UpdateWorkerInformation(); }