CourseWork_Bank/Bank/BankContracts/StoragesContracts/IOperationStorage.cs

17 lines
591 B
C#
Raw 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 IOperationStorage
{
2024-04-28 21:34:43 +04:00
List<OperationViewModel> GetFullList();
List<OperationViewModel> GetFilteredList(OperationSearchModel model);
OperationViewModel? GetElement(OperationSearchModel model);
OperationViewModel? Insert(OperationBindingModel model);
OperationViewModel? Update(OperationBindingModel model);
OperationViewModel? Delete(OperationBindingModel model);
}
}