logic
This commit is contained in:
commit
7d8cb99b89
@ -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);
|
||||
}
|
||||
}
|
@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel;
|
||||
|
||||
namespace FurnitureContracts.BusinessLogicsContracts
|
||||
{
|
||||
interface IOrdersLogic
|
||||
public interface IRoleLogic
|
||||
{
|
||||
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
|
||||
OrdersViewModel? ReadElement(OrderSearchModel model);
|
||||
bool Create(OrdersBindingModel model);
|
||||
bool Update(OrdersBindingModel model);
|
||||
bool Delete(OrdersBindingModel model);
|
||||
List<RoleViewModel>? ReadList(RoleSearchModel? model);
|
||||
RoleViewModel? ReadElement(RoleSearchModel model);
|
||||
bool Create(RoleBindingModel model);
|
||||
bool Update(RoleBindingModel model);
|
||||
bool Delete(RoleBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user