2023-04-02 16:52:24 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2023-04-06 18:41:33 +04:00
|
|
|
|
using BankContracts.ViewModels;
|
2023-04-02 16:52:24 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ICreditProgramStorage
|
|
|
|
|
{
|
|
|
|
|
List<CreditProgramViewModel> GetFullList();
|
|
|
|
|
List<CreditProgramViewModel> GetFilteredList(CreditProgramSearchModel model);
|
|
|
|
|
CreditProgramViewModel? GetElement(CreditProgramSearchModel model);
|
|
|
|
|
CreditProgramViewModel? Insert(CreditProgramBindingModel model);
|
|
|
|
|
CreditProgramViewModel? Update(CreditProgramBindingModel model);
|
|
|
|
|
CreditProgramViewModel? Delete(CreditProgramBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|