Esempio n. 1
0
 protected override async void OnSaveExecute()
 {
     await SaveWithOptimisticConcurrencyAsync(_repository.SaveAsync, () =>
     {
         HasChanges = _repository.HasChanges();
         Id         = Drive.DriveId;
         RaiseDetailSavedEvent(Drive.DriveId, $"{Drive.Title}", Drive.DriveCode, Drive.IsSecret);
         Drive.AcceptChanges();
     });
 }