Exemplo n.º 1
0
        public async Task CmdGetAllCategories()
        {
            try
            {
                await LocalFunctions.GetTodosAndCategories();

                CategoriesListCount = LocalData.uiTranslator.Translate("Categories list") + " (" + LocalData.TSCategoriesList.Count + ")";


                StateHasChanged();
            }
            catch (Exception ex)
            {
                LocalFunctions.AddError(ex.Message, MethodBase.GetCurrentMethod(), true, false);
            }
        }