CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IDebitingStorage.cs

26 lines
758 B
C#
Raw Normal View History

2023-04-01 09:48:43 +04:00
using BankYouBankruptContracts.BindingModels;
using BankYouBankruptContracts.SearchModels;
2023-05-18 17:56:47 +04:00
using BankYouBankruptContracts.ViewModels.Client.Default;
2023-04-01 09:48:43 +04:00
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 IDebitingStorage
2023-04-01 09:48:43 +04:00
{
2023-04-04 19:21:57 +04:00
List<DebitingViewModel> GetFullList();
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
List<DebitingViewModel> GetFilteredList(DebitingSearchModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
DebitingViewModel? GetElement(DebitingSearchModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
DebitingViewModel? Insert(DebitingBindingModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
DebitingViewModel? Update(DebitingBindingModel model);
2023-04-01 09:48:43 +04:00
2023-04-04 19:21:57 +04:00
DebitingViewModel? Delete(DebitingBindingModel model);
2023-04-01 09:48:43 +04:00
}
}