PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/BusinessLogicsContracts/IShopLogic.cs
2024-06-20 06:10:16 +04:00

18 lines
615 B
C#

using ConfectioneryContracts.BindingModels;
using ConfectioneryContracts.SearchModels;
using ConfectioneryContracts.ViewModels;
using ConfectioneryDataModels.Models;
namespace ConfectioneryContracts.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 MakeSupply(ShopSearchModel model, IPastryModel pastry, int count);
bool MakeSell(IPastryModel pastry, int count);
}
}