PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/BusinessLogicsContracts/IReservationLogic.cs
2023-04-06 18:19:36 +04:00

14 lines
483 B
C#

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);
}