protected async override void OnExecute(object parameter) { if (this.cremaAppHost.IsOpened == true && parameter is DataBaseListViewModel listViewModel) { await DataBaseUtility.CreateAsync(this.authenticator, this.cremaAppHost); } }
public async Task CreateAsync() { await DataBaseUtility.CreateAsync(this.authenticator, this.cremaHost); }
protected async override void OnExecute(object parameter) { await DataBaseUtility.CreateAsync(this.authenticator, this.cremaHost); }