22 lines
641 B
C#
22 lines
641 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);
|
|
|
|
}
|
|
}
|