protected async Task Save() { if (!claimForm.IsValid()) { return; } var newmodel = claimForm.GetValue <RoleClaimDto>(); var NewClaimResult = await NetService.AddRoleClaimAsync(newmodel); if (!NewClaimResult.IsSuccess) { MessageService.Show(NewClaimResult.Message, MessageType.Error); } await CloseAsync(NewClaimResult.IsSuccess); }