From 30f84298ab66ba1e6257cc01a508e454402e85d2 Mon Sep 17 00:00:00 2001 From: shadowik Date: Sun, 5 Mar 2023 10:51:11 +0300 Subject: [PATCH] Data Implement Fix --- Pizzeria/PizzeriaListImplement/Models/Order.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Pizzeria/PizzeriaListImplement/Models/Order.cs b/Pizzeria/PizzeriaListImplement/Models/Order.cs index 216ad30..80a4ff7 100644 --- a/Pizzeria/PizzeriaListImplement/Models/Order.cs +++ b/Pizzeria/PizzeriaListImplement/Models/Order.cs @@ -38,6 +38,7 @@ namespace PizzeriaListImplement.Models return; } Status = model.Status; + if (model.Status == OrderStatus.Выдан) DateImplement = model.DateImplement; } public OrderViewModel GetViewModel => new() {