22 lines
717 B
C#
Raw Normal View History

2024-04-28 21:24:09 +04:00
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);
}
}