2024-04-28 21:34:43 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using BankContracts.ViewModels;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.StoragesContracts
|
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public interface ICostStorage
|
2024-04-28 20:20:37 +04:00
|
|
|
|
{
|
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);
|
2024-04-28 20:20:37 +04:00
|
|
|
|
}
|
|
|
|
|
}
|