23 lines
604 B
C#
23 lines
604 B
C#
using FoodOrdersContracts.BindingModels;
|
|
using FoodOrdersContracts.SearchModels;
|
|
using FoodOrdersContracts.ViewModels;
|
|
using FoodOrdersDataModels.Models;
|
|
|
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IShopLogic
|
|
{
|
|
List<ShopViewModel>? ReadList(ShopSearchModel? model);
|
|
|
|
ShopViewModel? ReadElement(ShopSearchModel model);
|
|
|
|
bool Create(ShopBindingModel model);
|
|
|
|
bool Update(ShopBindingModel model);
|
|
|
|
bool Delete(ShopBindingModel model);
|
|
|
|
bool MakeShipment(ShopSearchModel shopModel, IDishModel dish, int count);
|
|
}
|
|
}
|