SushiBarBase/SushiBar/SushiBarContracts/BusinessLogicsContracts/IShopLogic.cs
bekodeg 49791fd7ff +
2024-05-05 18:56:39 +04:00

17 lines
570 B
C#

using SushiBarContracts.BindingModels;
using SushiBarContracts.SearchModels;
using SushiBarContracts.ViewModels;
namespace SushiBarContracts.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 supplySushi(ShopBindingModel shopModel, SushiBindingModel sushiModel, int count);
}
}