Esempio n. 1
0
    private void OpenCreateAuthorModal()
    {
        CreateValidationsRef.ClearAll();

        NewAuthor = new CreateAuthorDto();
        CreateAuthorModal.Show();
    }
Esempio n. 2
0
        protected virtual async Task CreateEntityAsync()
        {
            await AuthorAppService.CreateAsync(NewAuthor);

            await GetAuthorsAsync();

            CreateAuthorModal.Hide();
        }
Esempio n. 3
0
        private async Task CreateAuthorAsync()
        {
            await AuthorAppService.CreateAsync(NewAuthor);

            await GetAuthorsAsync();

            CreateAuthorModal.Hide();
        }
Esempio n. 4
0
    private async Task CreateAuthorAsync()
    {
        if (await CreateValidationsRef.ValidateAll())
        {
            await AuthorAppService.CreateAsync(NewAuthor);
            await GetAuthorsAsync();

            await CreateAuthorModal.Hide();
        }
    }
Esempio n. 5
0
 private void CloseCreateAuthorModal()
 {
     CreateAuthorModal.Hide();
 }
Esempio n. 6
0
 private void OpenCreateAuthorModal()
 {
     NewAuthor = new CreateAuthorDto();
     CreateAuthorModal.Show();
 }