PIbd-23_Sergunov_M.A._GiftShop/GiftShop/GiftShopContracts/BusinessLogicsContracts/IGiftLogic.cs

18 lines
476 B
C#

using GiftShopContracts.BindingModels;
using GiftShopContracts.SearchModels;
using GiftShopContracts.ViewModels;
namespace GiftShopContracts.BusinessLogicsContracts
{
public interface IGiftLogic
{
List<GiftViewModel>? ReadList(GiftSearchModel? model);
GiftViewModel? ReadElement(GiftSearchModel model);
bool Create(GiftBindingModel model);
bool Update(GiftBindingModel model);
bool Delete(GiftBindingModel model);
}
}