30 lines
746 B
C#
30 lines
746 B
C#
using RestaurantContracts.BindingModels;
|
|
using RestaurantContracts.SearchModels;
|
|
using RestaurantContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RestaurantContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IOrderLogic
|
|
{
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
bool Create(OrderBindingModel model);
|
|
|
|
bool Update(OrderBindingModel model);
|
|
|
|
bool Delete(OrderBindingModel model);
|
|
|
|
string SetTest(int count);
|
|
string GetTest(int count);
|
|
string DiffGetTest(int count);
|
|
bool ClearList();
|
|
}
|
|
}
|