22 lines
576 B
C#
22 lines
576 B
C#
|
using GiftShopContracts.BindingModels;
|
|||
|
using GiftShopContracts.SearchModels;
|
|||
|
using GiftShopContracts.ViewModels;
|
|||
|
|
|||
|
namespace GiftShopContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface IClientStorage
|
|||
|
{
|
|||
|
List<ClientViewModel> GetFullList();
|
|||
|
|
|||
|
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
|
|||
|
|
|||
|
ClientViewModel? GetElement(ClientSearchModel model);
|
|||
|
|
|||
|
ClientViewModel? Insert(ClientBindingModel model);
|
|||
|
|
|||
|
ClientViewModel? Update(ClientBindingModel model);
|
|||
|
|
|||
|
ClientViewModel? Delete(ClientBindingModel model);
|
|||
|
}
|
|||
|
}
|