PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/BusinessLogicsContracts/IReservationLogic.cs

14 lines
483 B
C#
Raw Normal View History

2023-04-06 18:19:36 +04:00
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.BusinessLogicsContracts;
public interface IReservationLogic
{
List<ReservationViewModel>? ReadList(ReservationSearchModel? model);
ReservationViewModel? ReadElement(ReservationSearchModel model);
bool Create(ReservationBindingModel model);
bool Update(ReservationBindingModel model);
bool Delete(ReservationBindingModel model);
}