diff --git a/ConfectionaryBusinessLogic/OrderLogic.cs b/ConfectionaryBusinessLogic/OrderLogic.cs index 064e5a6..1471185 100644 --- a/ConfectionaryBusinessLogic/OrderLogic.cs +++ b/ConfectionaryBusinessLogic/OrderLogic.cs @@ -98,7 +98,8 @@ namespace ConfectioneryBusinessLogic.BusinessLogics } model.Status = orderStatus; model.DateCreate = vmodel.DateCreate; - model.DateImplement = vmodel.DateImplement; + if (model.DateImplement == null) + model.DateImplement = vmodel.DateImplement; model.PastryId = vmodel.PastryId; model.Sum = vmodel.Sum; model.Count= vmodel.Count;