CourseWork_Bank/Bank/BankContracts/StoragesContracts/ICostStorage.cs

17 lines
531 B
C#
Raw Permalink Normal View History

2024-04-28 21:34:43 +04:00
using BankContracts.BindingModels;
using BankContracts.SearchModels;
using BankContracts.ViewModels;
namespace BankContracts.StoragesContracts
{
2024-04-28 21:34:43 +04:00
public interface ICostStorage
{
2024-04-28 21:34:43 +04:00
List<CostViewModel> GetFullList();
List<CostViewModel> GetFilteredList(CostSearchModel model);
CostViewModel? GetElement(CostSearchModel model);
CostViewModel? Insert(CostBindingModel model);
CostViewModel? Update(CostBindingModel model);
CostViewModel? Delete(CostBindingModel model);
}
}