17 lines
558 B
C#
17 lines
558 B
C#
using SushiContracts.BindingModels;
|
|
using SushiContracts.SearchModels;
|
|
using SushiContracts.ViewModels;
|
|
|
|
namespace SushiContracts.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);
|
|
}
|
|
}
|