PIbd-22_Tsukanova_I.V._IceC.../IceCreamShop/IceCreamShopContracts/BusinessLogicsContracts/IIceCreamLogic.cs

21 lines
638 B
C#

using IceCreamShopContracts.BindingModels;
using IceCreamShopContracts.SearchModels;
using IceCreamShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IceCreamShopContracts.BusinessLogicsContracts
{
public interface IIceCreamLogic
{
List<IceCreamViewModel>? ReadList(IceCreamSearchModel? model);
IceCreamViewModel? ReadElement(IceCreamSearchModel model);
bool Create(IceCreamBindingModel model);
bool Update(IceCreamBindingModel model);
bool Delete(IceCreamBindingModel model);
}
}