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

15 lines
453 B
C#

using SchoolContracts.SearchModels;
using SchoolContracts.BindingModels;
using SchoolContracts.ViewModels;
namespace SchoolContracts.StoragesContracts
{
public interface IAccountStorage
{
List<AccountViewModel> GetFullList();
List<AccountViewModel> GetFilteredList(AccountSearchModel model);
AccountViewModel? GetElement(AccountSearchModel model);
AccountViewModel? Insert(AccountBindingModel model);
}
}