From c5174ca09e637bf5161a8203eb7988a756d6cb04 Mon Sep 17 00:00:00 2001 From: Danila_Mochalov Date: Sat, 28 Jan 2023 19:25:49 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D1=8B=20Se?= =?UTF-8?q?arch=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8,=20=D0=B8=D0=B7?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D1=8B=20=D0=BC=D0=BE=D0=B4=D0=B8?= =?UTF-8?q?=D1=84=D0=B8=D0=BA=D0=B0=D1=82=D0=BE=D1=80=D1=8B=20=D0=B4=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=83=D0=BF=D0=B0=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81?= =?UTF-8?q?=D0=BE=D0=B2=20BindingModels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BindingModels/BlankBindingModel.cs | 2 +- .../BindingModels/DocumentBindingModel.cs | 2 +- .../BindingModels/OrderBindingModel.cs | 2 +- .../SearchModels/BlankSearchModel.cs | 14 ++++++++++++++ .../SearchModels/DocumentSearchModel.cs | 14 ++++++++++++++ .../SearchModels/OrderSearchModel.cs | 14 ++++++++++++++ 6 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 LawFirm/LawFirmContracts/SearchModels/BlankSearchModel.cs create mode 100644 LawFirm/LawFirmContracts/SearchModels/DocumentSearchModel.cs create mode 100644 LawFirm/LawFirmContracts/SearchModels/OrderSearchModel.cs diff --git a/LawFirm/LawFirmContracts/BindingModels/BlankBindingModel.cs b/LawFirm/LawFirmContracts/BindingModels/BlankBindingModel.cs index c2057c3..be82ee4 100644 --- a/LawFirm/LawFirmContracts/BindingModels/BlankBindingModel.cs +++ b/LawFirm/LawFirmContracts/BindingModels/BlankBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace LawFirmContracts.BindingModels { - internal class BlankBindingModel : IBlankModel + public class BlankBindingModel : IBlankModel { public string BlankName { get; set; } = string.Empty; diff --git a/LawFirm/LawFirmContracts/BindingModels/DocumentBindingModel.cs b/LawFirm/LawFirmContracts/BindingModels/DocumentBindingModel.cs index d6223e3..d1e6cc1 100644 --- a/LawFirm/LawFirmContracts/BindingModels/DocumentBindingModel.cs +++ b/LawFirm/LawFirmContracts/BindingModels/DocumentBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace LawFirmContracts.BindingModels { - internal class DocumentBindingModel : IDocumentModel + public class DocumentBindingModel : IDocumentModel { public string DocumentName {get; set;} = string.Empty; diff --git a/LawFirm/LawFirmContracts/BindingModels/OrderBindingModel.cs b/LawFirm/LawFirmContracts/BindingModels/OrderBindingModel.cs index 48301d4..f2f3566 100644 --- a/LawFirm/LawFirmContracts/BindingModels/OrderBindingModel.cs +++ b/LawFirm/LawFirmContracts/BindingModels/OrderBindingModel.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace LawFirmContracts.BindingModels { - internal class OrderBindingModel : IOrderModel + public class OrderBindingModel : IOrderModel { public int DocumentId { get; set; } diff --git a/LawFirm/LawFirmContracts/SearchModels/BlankSearchModel.cs b/LawFirm/LawFirmContracts/SearchModels/BlankSearchModel.cs new file mode 100644 index 0000000..fc70b21 --- /dev/null +++ b/LawFirm/LawFirmContracts/SearchModels/BlankSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LawFirmContracts.SearchModels +{ + public class BlankSearchModel + { + public int? Id { get; set; } + public string? BlankName { get; set; } + } +} diff --git a/LawFirm/LawFirmContracts/SearchModels/DocumentSearchModel.cs b/LawFirm/LawFirmContracts/SearchModels/DocumentSearchModel.cs new file mode 100644 index 0000000..c556131 --- /dev/null +++ b/LawFirm/LawFirmContracts/SearchModels/DocumentSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LawFirmContracts.SearchModels +{ + public class DocumentSearchModel + { + public int? Id { get; set; } + public string? DocumentName { get; set; } + } +} diff --git a/LawFirm/LawFirmContracts/SearchModels/OrderSearchModel.cs b/LawFirm/LawFirmContracts/SearchModels/OrderSearchModel.cs new file mode 100644 index 0000000..5f67a66 --- /dev/null +++ b/LawFirm/LawFirmContracts/SearchModels/OrderSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LawFirmContracts.SearchModels +{ + public class OrderSearchModel + { + public int? Id { get; set; } + + } +}