SUBD/Sushi/SushiContracts/StorageContracts/IClientStorage.cs

17 lines
558 B
C#
Raw Permalink Normal View History

2024-04-04 03:47:27 +04:00
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);
}
}