23 lines
460 B
C#
23 lines
460 B
C#
|
using HotelAbstractions.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace HotelAbstractions.Logic
|
|||
|
{
|
|||
|
public interface IReservationLogic
|
|||
|
{
|
|||
|
List<Reservation> GetAll();
|
|||
|
|
|||
|
Reservation? Get(int id);
|
|||
|
|
|||
|
Reservation? Create(Reservation reservation);
|
|||
|
|
|||
|
Reservation? Update(Reservation reservation);
|
|||
|
|
|||
|
Reservation? Delete(int id);
|
|||
|
}
|
|||
|
}
|