protected int PromptForId <T>()
            where T : SEntity
        {
            int id = -1;

            UntilItIsDone(() => {
                id = CUI.PromptRange($"Please enter the ID for the {_typeNames[typeof(T)]}", 0, StoreManagerApplication.MaxId <T>());
                return(StoreManagerApplication.IdExists <T>(id));
            });

            return(id);
        }