CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/StorageContracts/ICostItemStorage.cs

21 lines
693 B
C#
Raw Normal View History

2024-05-22 23:00: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 {
2024-05-25 13:06:38 +04:00
public interface ICostItemStorage {
2024-05-22 23:00:35 +04:00
List<CostItemViewModel> GetFullList();
List<CostItemViewModel> GetFillteredList(CostItemSearchModel model);
CostItemViewModel GetElement(CostItemSearchModel model);
CostItemViewModel? Insert(CostItemBindingModel model);
CostItemViewModel? Update(CostItemBindingModel model);
CostItemViewModel? Delete(CostItemBindingModel model);
}
}