From 9939ca59b9954dc9a2c005c44ba6cb9ef6500e8a Mon Sep 17 00:00:00 2001 From: malimova Date: Sun, 2 Jun 2024 19:51:08 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BE?= =?UTF-8?q?=D1=87=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfectioneryContracts/ViewModels/ClientViewModel.cs | 5 +++-- Confectionery/ConfectioneryDataModels/IClientModel.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Confectionery/ConfectioneryContracts/ViewModels/ClientViewModel.cs b/Confectionery/ConfectioneryContracts/ViewModels/ClientViewModel.cs index a8faf87..84d002e 100644 --- a/Confectionery/ConfectioneryContracts/ViewModels/ClientViewModel.cs +++ b/Confectionery/ConfectioneryContracts/ViewModels/ClientViewModel.cs @@ -1,4 +1,5 @@ -using System; +using ConfectioneryDataModels.Models; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; @@ -7,7 +8,7 @@ using System.Threading.Tasks; namespace ConfectioneryContracts.ViewModels { - public class ClientViewModel + public class ClientViewModel : IClientModel { public int Id { get; set; } [DisplayName("ФИО клиента")] diff --git a/Confectionery/ConfectioneryDataModels/IClientModel.cs b/Confectionery/ConfectioneryDataModels/IClientModel.cs index ddad9f3..004fd69 100644 --- a/Confectionery/ConfectioneryDataModels/IClientModel.cs +++ b/Confectionery/ConfectioneryDataModels/IClientModel.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace ConfectioneryDataModels.Models { - public interface IClientModel + public interface IClientModel : IId { string ClientFIO { get; } string Email { get; }