CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/StorageContracts/IClientStorage.cs

23 lines
715 B
C#
Raw Permalink Normal View History

2024-05-19 16:35:35 +04:00
using ElectronicsShopContracts.BindingModels;
using ElectronicsShopContracts.SearchModels;
using ElectronicsShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.StorageContracts
{
public interface IClientStorage
{
List<ClientViewModel> GetFullList();
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
2024-05-22 23:00:35 +04:00
2024-05-19 16:35:35 +04:00
ClientViewModel? GetElement(ClientSearchModel model);
ClientViewModel? Insert(ClientBindingModel model);
ClientViewModel? Update(ClientBindingModel model);
ClientViewModel? Delete(ClientBindingModel model);
}
}