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