CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IRoomStorage.cs

22 lines
540 B
C#
Raw Normal View History

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IRoomStorage
{
List<RoomViewModel> GetFullList();
List<RoomViewModel> GetFilteredList(RoomSearchModel model);
RoomViewModel? GetElement(RoomSearchModel model);
RoomViewModel? Insert(RoomBindingModel model);
RoomViewModel? Update(RoomBindingModel model);
RoomViewModel? Delete(RoomBindingModel model);
}
}