From 7f35ac9210fb74d12e29c9e18184b4d958e8dd68 Mon Sep 17 00:00:00 2001 From: dex_moth Date: Mon, 29 Apr 2024 12:17:45 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B0=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BA=D0=B0=D0=B7=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs index 02394a4..5cd6e36 100644 --- a/ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs @@ -9,7 +9,7 @@ namespace ComputerHardwareStoreContracts.ViewModels [DisplayName("Стоимость")] public double Cost { get; set; } [DisplayName("Дата создания")] - public DateTime DateCreate { get; set; } + public DateTime DateCreate { get; set; } = DateTime.Now; public Dictionary OrderProduct { get; set; } = new(); } }