19 lines
749 B
C#
19 lines
749 B
C#
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);
|
|
}
|
|
}
|