PIbd-23_Firsov_KA_SUBD/Hotel/HotelAbstractions/Logic/IReservationLogic.cs

23 lines
460 B
C#
Raw Permalink Normal View History

2024-05-29 14:28:53 +04:00
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);
}
}