заполнение BusinessLogicsContracts
This commit is contained in:
parent
25cf3d827e
commit
271dad55c3
@ -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
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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