CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/StorageContracts/IShopAssistentStorage.cs

22 lines
763 B
C#

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 IShopAssistentStorage
{
List<ShopAssistentViewModel> GetFullList();
List<ShopAssistentViewModel> GetFilteredList(ClientSearchModel model);
ShopAssistentViewModel? GetElement(ClientSearchModel model);
ShopAssistentViewModel? Insert(ClientBindingModel model);
ShopAssistentViewModel? Update(ClientBindingModel model);
ShopAssistentViewModel? Delete(ClientBindingModel model);
}
}