22 lines
717 B
C#
22 lines
717 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using TravelAgencyCompanyContracts.BindingModels;
|
|
using TravelAgencyCompanyContracts.SearchModel;
|
|
using TravelAgencyCompanyContracts.ViewModel;
|
|
|
|
namespace TravelAgencyCompanyContracts.StoragesContracts
|
|
{
|
|
public interface IHotelStorage
|
|
{
|
|
List<HotelViewModel> GetFullList();
|
|
List<HotelViewModel> GetFilteredList(HotelSearchModel model);
|
|
HotelViewModel? GetElement(HotelSearchModel model);
|
|
HotelViewModel? Insert(HotelBindingModel model);
|
|
HotelViewModel? Update(HotelBindingModel model);
|
|
HotelViewModel? Delete(HotelBindingModel model);
|
|
}
|
|
}
|