21 lines
694 B
C#
21 lines
694 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 ICostItemStorage {
|
|
List<CostItemViewModel> GetFullList();
|
|
List<CostItemViewModel> GetFillteredList(CostItemSearchModel model);
|
|
|
|
CostItemViewModel? GetElement(CostItemSearchModel model);
|
|
CostItemViewModel? Insert(CostItemBindingModel model);
|
|
CostItemViewModel? Update(CostItemBindingModel model);
|
|
CostItemViewModel? Delete(CostItemBindingModel model);
|
|
}
|
|
}
|