diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-12-16 10:33:43 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-12-16 10:33:43 +0200 |
| commit | e8ee7dfb8e166e34c7950e90d5fe9bcf31dc351b (patch) | |
| tree | 0b2fd7e8d0c2dc0bc8706c94c4019cd92bd252bc /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels | |
| parent | 5ef0db61993e269caa1d1184ee0be2ae1c6ea393 (diff) | |
| download | Tango-e8ee7dfb8e166e34c7950e90d5fe9bcf31dc351b.tar.gz Tango-e8ee7dfb8e166e34c7950e90d5fe9bcf31dc351b.zip | |
Some fixes.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs index 5ec1c34ec..0175b949e 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs @@ -595,6 +595,7 @@ namespace Tango.PPC.Jobs.ViewModels Job.LastUpdated = DateTime.UtcNow; Job.IsSynchronized = false; Job.JobStatus = BL.Enumerations.JobStatuses.Draft; + Job.MarkModified(_db); await _db.SaveChangesAsync(); _current_job_string = Job.ToJobFileWhenLoaded().ToString(); |
