From af6d3f39ce3e20f1cc02654791543c562cfdfb8c Mon Sep 17 00:00:00 2001 From: Allllen4a Date: Wed, 1 May 2024 10:24:21 +0400 Subject: [PATCH] =?UTF-8?q?=D1=87=D0=B8=D0=BD=D0=B8=D0=BC=20=D0=B1=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BeatySalonRestApi/Controllers/EvaluationController.cs | 2 +- .../SearchModels/EvaluationSearchModel.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BeautySalonView/BeatySalonRestApi/Controllers/EvaluationController.cs b/BeautySalonView/BeatySalonRestApi/Controllers/EvaluationController.cs index 5047cf4..1f55464 100644 --- a/BeautySalonView/BeatySalonRestApi/Controllers/EvaluationController.cs +++ b/BeautySalonView/BeatySalonRestApi/Controllers/EvaluationController.cs @@ -67,7 +67,7 @@ namespace BeautySalonRestApi.Controllers { try { - return evaluation.ReadList(new EvaluationSearchModel { ClientId = userId, PageNumber = page, PageSize = 10 }); + return evaluation.ReadList(new EvaluationSearchModel { ClientId = userId}); } catch (Exception ex) { diff --git a/BeautySalonView/BeautySalonContracts/SearchModels/EvaluationSearchModel.cs b/BeautySalonView/BeautySalonContracts/SearchModels/EvaluationSearchModel.cs index cf3ff71..6b04de4 100644 --- a/BeautySalonView/BeautySalonContracts/SearchModels/EvaluationSearchModel.cs +++ b/BeautySalonView/BeautySalonContracts/SearchModels/EvaluationSearchModel.cs @@ -4,7 +4,7 @@ { public int? Id { get; set; } public int? ClientId { get; set; } - public int? PageNumber { get; set; } - public int? PageSize { get; set; } + public int? ProcedureId { get; set; } + } }