public virtual async void Delete() { await CurrentService.Delete(CurrentObject); await OnSavedChange?.Invoke(); Close(); }
public virtual async void Save() { await CurrentService.ExecuteAsync(CurrentObject); await OnSavedChange?.Invoke(); Close(); }