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

17 lines
572 B
C#
Raw Normal View History

2024-05-01 17:54:58 +04:00
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);
}
}