23 lines
646 B
C#
23 lines
646 B
C#
using HotelContracts.BindingModels;
|
|
using HotelContracts.SearchModels;
|
|
using HotelContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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);
|
|
}
|
|
}
|