18-19-20
This commit is contained in:
@@ -46,6 +46,8 @@ namespace BLL
|
||||
newPunishment.CompletionDate = punishment.CompletionDate;
|
||||
newPunishment.Flag = punishment.Flag;
|
||||
newPunishment.ViolationRelatedSes = punishment.ViolationRelatedSes;
|
||||
newPunishment.SelectYesNo = punishment.SelectYesNo;
|
||||
newPunishment.Def=punishment.Def;
|
||||
Funs.DB.EMC_Punishment.InsertOnSubmit(newPunishment);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
@@ -71,6 +73,8 @@ namespace BLL
|
||||
newPunishment.Violation_Inspector = punishment.Violation_Inspector;
|
||||
newPunishment.CompletionDate = punishment.CompletionDate;
|
||||
newPunishment.ViolationRelatedSes = punishment.ViolationRelatedSes;
|
||||
newPunishment.SelectYesNo = punishment.SelectYesNo;
|
||||
newPunishment.Def = punishment.Def;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user