CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IMemberStorage.cs

22 lines
564 B
C#
Raw Normal View History

2023-04-01 19:42:24 +04:00
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IMemberStorage
{
List<MemberViewModel> GetFullList();
List<MemberViewModel> GetFilteredList(MemberSearchModel model);
MemberViewModel? GetElement(MemberSearchModel model);
MemberViewModel? Insert(MemberBindingModel model);
MemberViewModel? Update(MemberBindingModel model);
MemberViewModel? Delete(MemberBindingModel model);
}
}