21 lines
575 B
C#
21 lines
575 B
C#
|
using SushiBarContracts.BindingModels;
|
|||
|
using SushiBarContracts.SearchModels;
|
|||
|
using SushiBarContracts.ViewModels;
|
|||
|
|
|||
|
namespace SushiBarContracts.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);
|
|||
|
}
|
|||
|
}
|