CourseWork_Bank/Bank/BankContracts/StoragesContracts/IDealStorage.cs

22 lines
647 B
C#

using BankContracts.BindingModels;
using BankContracts.SearchModels;
using BankContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StoragesContracts
{
public interface IDealStorage
{
List<DealViewModel> GetFullList();
List<DealViewModel> GetFilteredList(DealSearchModel model);
DealViewModel? GetElement(DealSearchModel model);
DealViewModel? Insert(DealBindingModel model);
DealViewModel? Update(DealBindingModel model);
DealViewModel? Delete(DealBindingModel model);
}
}