PIbd-23_Firsov_KA_SUBD/Hotel/HotelAbstractions/Logic/IHotelLogic.cs
2024-05-29 14:28:53 +04:00

25 lines
439 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 IHotelLogic
{
List<Hotel> GetAll();
Hotel? Get(int id);
Hotel? Create(Hotel hotel);
Hotel? CreateId(Hotel hotel);
Hotel? Update(Hotel hotel);
Hotel? Delete(int id);
}
}