18 lines
571 B
C#
18 lines
571 B
C#
using PizzeriaContracts.BindingModels;
|
|
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);
|
|
|
|
}
|
|
}
|