CourseWork/University/UniversityContracts/StorageContracts/IStudentStorage.cs

17 lines
590 B
C#
Raw Normal View History

using UniversityContracts.BindingModels;
2024-04-18 19:09:47 +04:00
using UniversityContracts.SearchModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.StorageContracts
{
public interface IStudentStorage
{
List<StudentViewModel> GetFullList();
List<StudentViewModel> GetFilteredList(StudentSearchModel model);
StudentViewModel? GetElement(StudentSearchModel model);
StudentViewModel? Insert(StudentBindingModel model);
StudentViewModel? Update(StudentBindingModel model);
StudentViewModel? Delete(StudentBindingModel model);
}
}