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

17 lines
572 B
C#

using SchoolContracts.BindingModels;
using SchoolContracts.SearchModels;
using SchoolContracts.ViewModels;
namespace SchoolContracts.StoragesContracts
{
public interface IStudentStorage
{
List<StudentViewModel> GetFullList();
List<StudentViewModel> GetFilteredList(StudentSearchModel model);
StudentViewModel? GetElement(StudentSearchModel model);
StudentViewModel? Insert(StudentSearchModel model);
StudentViewModel? Update(StudentSearchModel model);
StudentViewModel? Delete(StudentSearchModel model);
}
}