From 94088394ae4ddec8562d673946a908941bf637e0 Mon Sep 17 00:00:00 2001 From: K Date: Tue, 30 Apr 2024 18:35:55 +0300 Subject: [PATCH] =?UTF-8?q?=D1=87=D0=B5=20=D1=82=D0=BE=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=87=D0=B8=D0=BD=D0=B8=D0=BB=20=D0=B2=20=D0=B1=D0=B4=20=D0=B2?= =?UTF-8?q?=D1=80=D0=BE=D0=B4=D0=B5(=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=D0=B0?= =?UTF-8?q?=D0=BB=D0=BE=D1=81=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BeautySalonBusinessLogic/BusinessLogic/OrderLogic.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/OrderLogic.cs b/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/OrderLogic.cs index d5e527f..a285fee 100644 --- a/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/OrderLogic.cs +++ b/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/OrderLogic.cs @@ -21,7 +21,10 @@ namespace BeautySalonBusinessLogic.BusinessLogics _logger = logger; _orderStorage = orderStorage; } - + public int GetNumberOfPages(int userId, int pageSize = 10) + { + return _orderStorage.GetNumberOfPages(userId, pageSize); + } public List? ReadList(OrderSearchModel? model) { _logger.LogInformation("Order. OrderID:{Id}", model?.Id);