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