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; }