Merged PR 12625: Fix: Incorrectly creating new training records when canceling a TECN
Fix: Incorrectly creating new training records when canceling a TECN IDE0100 Updated pipelines to build package .zip for msdeploy.exe Related work items: #239935
This commit is contained in:
@ -266,9 +266,9 @@ public class MRB_DMO {
|
||||
DateTime? issueStartDate = tempMRBInfo.IssueStartDate;
|
||||
DateTime? issueEndDate = tempMRBInfo.IssueEndDate;
|
||||
|
||||
if (issueStartDate.HasValue == false)
|
||||
if (!issueStartDate.HasValue)
|
||||
throw new Exception("MRB Issue Start Date cannot be blank");
|
||||
if (issueEndDate.HasValue == false)
|
||||
if (!issueEndDate.HasValue)
|
||||
throw new Exception("MRB Issue End Date cannot be blank");
|
||||
|
||||
MRB mrbData = new() { MRBNumber = mrbNumber, ToolCSV = tempMRBInfo.ToolCSV, IssueStartDate = tempMRBInfo.IssueStartDate, IssueEndDate = tempMRBInfo.IssueEndDate };
|
||||
|
Reference in New Issue
Block a user