заполнение BusinessLogicsContracts

This commit is contained in:
FLARJ 2023-04-05 23:06:55 +04:00
parent 25cf3d827e
commit 271dad55c3
4 changed files with 51 additions and 6 deletions

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}

View File

@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts namespace FurnitureContracts.BusinessLogicsContracts
{ {
public class IOrdersLogic public interface IRoleLogic
{ {
List<OrdersViewModel>? ReadList(OrderSearchModel? model); List<RoleViewModel>? ReadList(RoleSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model); RoleViewModel? ReadElement(RoleSearchModel model);
bool Create(OrdersBindingModel model); bool Create(RoleBindingModel model);
bool Update(OrdersBindingModel model); bool Update(RoleBindingModel model);
bool Delete(OrdersBindingModel model); bool Delete(RoleBindingModel model);
} }
} }

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}