2023-03-26 16:43:18 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SushiBarContracts.StoragesContracts;
|
|
|
|
|
|
|
|
|
|
public interface IClientStorage
|
|
|
|
|
{
|
|
|
|
|
List<ClientViewModel> GetFullList();
|
2023-03-26 17:10:29 +04:00
|
|
|
|
List<ClientViewModel> GetFilteredList(ClientSearchModel? model);
|
2023-03-26 16:43:18 +04:00
|
|
|
|
ClientViewModel? GetElement(ClientSearchModel model);
|
|
|
|
|
ClientViewModel? Insert(ClientBindingModel model);
|
|
|
|
|
ClientViewModel? Update(ClientBindingModel model);
|
|
|
|
|
ClientViewModel? Delete(ClientBindingModel model);
|
|
|
|
|
}
|