2024-05-22 12:35:35 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using PizzeriaContracts.BindingModels;
|
2024-05-07 23:00:38 +04:00
|
|
|
|
using PizzeriaContracts.SearchModels;
|
|
|
|
|
using PizzeriaContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PizzeriaContracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|