CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IDinnerStorage.cs

22 lines
564 B
C#
Raw Normal View History

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IDinnerStorage
{
List<DinnerViewModel> GetFullList();
List<DinnerViewModel> GetFilteredList(DinnerSearchModel model);
DinnerViewModel? GetElement(DinnerSearchModel model);
DinnerViewModel? Insert(DinnerBindingModel model);
DinnerViewModel? Update(DinnerBindingModel model);
DinnerViewModel? Delete(DinnerBindingModel model);
}
}