protected virtual async Task CreateEntityAsync() { await AuthorAppService.CreateAsync(NewAuthor); await GetAuthorsAsync(); CreateAuthorModal.Hide(); }
private async Task CreateAuthorAsync() { await AuthorAppService.CreateAsync(NewAuthor); await GetAuthorsAsync(); CreateAuthorModal.Hide(); }
private async Task CreateAuthorAsync() { if (await CreateValidationsRef.ValidateAll()) { await AuthorAppService.CreateAsync(NewAuthor); await GetAuthorsAsync(); await CreateAuthorModal.Hide(); } }
private void CloseCreateAuthorModal() { CreateAuthorModal.Hide(); }