Exemple #1
0
        protected override async Task OnInitializedAsync()
        {
            _state = State.Loading;
            try
            {
                Modules = await ModuleService.GetListAsync();

                _state = State.ContentReady;
            }
            catch (Exception e)
            {
                _state = State.Error;
            }
        }