2024-04-19 19:30:16 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using UniversityContracts.BindingModels;
|
|
|
|
|
using UniversityContracts.SearchModels;
|
|
|
|
|
using UniversityContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace UniversityContracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
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);
|
2024-05-01 20:40:47 +04:00
|
|
|
|
List<StudentViewModel> GetStudentsForDiscipline(DisciplineSearchModel model);
|
2024-04-19 19:30:16 +04:00
|
|
|
|
}
|
|
|
|
|
}
|