22 lines
685 B
C#
22 lines
685 B
C#
using SushiBarContracts.BindingModel;
|
|
using SushiBarContracts.SearchModel;
|
|
using SushiBarContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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);
|
|
}
|
|
}
|