Example #1
0
 public void AddNewWork(StoreProvenWorkSet newWork)
 {
     _worksRepository.Add(newWork);
 }
Example #2
0
 public void UpdateWork(StoreProvenWorkSet work, int id)
 {
     work.MainAccountId = id;
     _worksRepository.Update(work);
 }
 public override void OnNavigatedTo(NavigationContext navigationContext)
 {
     NewWork = new StoreProvenWorkSet();
     SaveChangesCommand.RaiseCanExecuteChanged();
     _worker.RunWorkerAsync();
 }