Esempio n. 1
0
#pragma warning restore 414

        protected override async Task OnInitializedAsync()
        {
            try
            {
                Users = (await UserDataService.GetAllUsersInRole(RoleId)).OrderBy(v => v.UserName).ToList();
            }
            catch (Exception exception)
            {
                Logger.LogError("Exception occurred in on initialised async User Data Service", exception);
                _loadFailed = true;
            }
        }