Exemplo n.º 1
0
        protected async Task CreateProfiles()
        {
            var result = await ProfileService.CreateFakeProfiles(SomeUsers);

            if (result != null)
            {
                SomeUsers = new List <FakeProfileModel>();
                await ModalDialog.ShowMessageBoxAsync("Profile profiles created successfully", $"Profiles created: {result.CptrSucceed} - Failed: {result.CptrFailed}", MessageBoxButtons.OK, MessageBoxDefaultButton.Button1);
            }
        }