public void AddNewWork(StoreProvenWorkSet newWork) { _worksRepository.Add(newWork); }
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(); }