CourseWork_FurnitureFactory/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs

18 lines
492 B
C#

using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrderLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}