CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICreditingStorage.cs

26 lines
755 B
C#
Raw Normal View History

2023-04-01 09:48:43 +04:00
using BankYouBankruptContracts.BindingModels;
using BankYouBankruptContracts.SearchModels;
using BankYouBankruptContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.StoragesContracts
{
2023-04-04 19:21:57 +04:00
public interface ICreditingStorage
2023-04-01 09:48:43 +04:00
{
2023-04-04 19:21:57 +04:00
List<CreditingViewModel> GetFullList();
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
List<CreditingViewModel> GetFilteredList(CreditingSearchModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
CreditingViewModel? GetElement(CreditingSearchModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
CreditingViewModel? Insert(CreditingBindingModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
CreditingViewModel? Update(CreditingBindingModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
CreditingViewModel? Delete(CreditingBindingModel model);
2023-04-01 09:48:43 +04:00
}
}