22 lines
591 B
C#
22 lines
591 B
C#
using GiftShopContracts.BindingModels;
|
|
using GiftShopContracts.SearchModels;
|
|
using GiftShopContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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);
|
|
}
|
|
|
|
}
|