diff --git a/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/ProcedureLogic.cs b/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/ProcedureLogic.cs index dc036c6..44266e7 100644 --- a/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/ProcedureLogic.cs +++ b/BeautySalonView/BeautySalonBusinessLogic/BusinessLogic/ProcedureLogic.cs @@ -21,10 +21,7 @@ namespace BeautySalonBusinessLogic.BusinessLogics _logger = logger; _procedureStorage = procedureStorage; } - public int GetNumberOfPages(int userId, int pageSize = 10) - { - return _procedureStorage.GetNumberOfPages(userId, pageSize); - } + public List? ReadList(ProcedureSearchModel? model) { diff --git a/BeautySalonView/BeautySalonContracts/BusinessLogicContracts/IProcedureLogic.cs b/BeautySalonView/BeautySalonContracts/BusinessLogicContracts/IProcedureLogic.cs index f95ab6b..8b74660 100644 --- a/BeautySalonView/BeautySalonContracts/BusinessLogicContracts/IProcedureLogic.cs +++ b/BeautySalonView/BeautySalonContracts/BusinessLogicContracts/IProcedureLogic.cs @@ -12,6 +12,5 @@ namespace BeautySalonContracts.BusinessLogicContracts bool Create(ProcedureBindingModel model); bool Update(ProcedureBindingModel model); bool Delete(ProcedureBindingModel model); - int GetNumberOfPages(int userId, int pageSize = 10); } }