From 91834d247ccf83c9479bbd20b0c284999e99351c Mon Sep 17 00:00:00 2001 From: shadowik Date: Sat, 1 Apr 2023 09:00:47 +0400 Subject: [PATCH] ClientSearchModels --- .../BankYouBankruptContracts.csproj | 1 - .../SearchModels/ClientSearchModel.cs | 23 +++++++++++++++++++ .../ViewModels/CardViewModel.cs | 2 +- .../ViewModels/CreditingViewModel.cs | 2 +- .../ViewModels/DebitingViewModel .cs | 2 +- 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs diff --git a/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj b/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj index 69d6220..b88f6a6 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj +++ b/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj @@ -8,7 +8,6 @@ - diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs new file mode 100644 index 0000000..1fdbd2f --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.SearchModels +{ + public class ClientSearchModel + { + public int? Id { get; set; } + + public string? Name { get; set; } + + public string? Surname { get; set; } + + public string? Patronymic { get; set; } + + public string? Email { get; set; } + + public string? Password { get; set; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs index c17e391..d434f46 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class CardViewModel : ICardModel { diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs index 55c05d3..1ded21f 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class CreditingViewModel : ICreditingModel { diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs index e58e0fd..138517e 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class DebitingViewModel : IDebitingModel {