ISEbd-22_CourseWork_School/School/SchoolContracts/StoragesContracts/IDisciplineStorage.cs

19 lines
749 B
C#
Raw Normal View History

2024-05-01 17:54:58 +04:00
using SchoolContracts.SearchModels;
using SchoolContracts.BindingModels;
using SchoolContracts.ViewModels;
namespace SchoolContracts.StoragesContracts
{
public interface IDisciplineStorage
{
List<DisciplineViewModel> GetFullList();
List<DisciplineViewModel> GetFilteredList(DisciplineSearchModel model);
DisciplineViewModel? GetElement(DisciplineSearchModel model);
DisciplineViewModel? Insert(DisciplineBindingModel model);
DisciplineViewModel? Update(DisciplineBindingModel model);
DisciplineViewModel? Delete(DisciplineBindingModel model);
List<AccountViewModel> GetAccountsFromDisciplineAndClient(DisciplineSearchModel modelDiscipline, ClientSearchModel modelClient);
}
}