#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; } }