aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-05-13 13:58:45 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-05-13 13:58:45 +0300
commit4cc4089f36b0a9b9d754e33acb49da930f846699 (patch)
tree314c77ca012d10ff1440a112893072943e479066 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
parent8d58d0b03648069600f8abf39dbe68b16c90559b (diff)
downloadTango-4cc4089f36b0a9b9d754e33acb49da930f846699.tar.gz
Tango-4cc4089f36b0a9b9d754e33acb49da930f846699.zip
Some fixed to TCC mobile design.
Implemented DFU reset on Machine Operator.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs2
1 files changed, 2 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 3b7c70bf8..e2c29cac5 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
@@ -522,6 +522,8 @@ namespace Tango.PPC.Jobs.ViewModels
}
}
+ Job.LastUpdated = DateTime.UtcNow;
+ Job.JobStatus = BL.Enumerations.JobStatuses.Draft;
await _db.SaveChangesAsync();
RaiseMessage(new JobSavedMessage() { Job = Job });