22 lines
597 B
C#
22 lines
597 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.BusinessLogicsContracts
|
|
{
|
|
public interface IBookingLogic
|
|
{
|
|
List<BookingViewModel>? ReadList(BookingSearchModel? model);
|
|
BookingViewModel? ReadElement(BookingSearchModel model);
|
|
|
|
bool Create(BookingBindingModel model);
|
|
bool Update(BookingBindingModel model);
|
|
bool Delete(BookingBindingModel model);
|
|
}
|
|
}
|