2024-04-01 20:00:17 +04:00
|
|
|
|
using ComputersShopContracts.BindingModels;
|
|
|
|
|
using ComputersShopContracts.SearchModels;
|
|
|
|
|
using ComputersShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-05-12 11:23:15 +04:00
|
|
|
|
namespace ComputersShopContracts.StorageContracts
|
2024-04-01 20:00:17 +04:00
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|