23 lines
390 B
C#
23 lines
390 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 IRoomLogic
|
|||
|
{
|
|||
|
List<Room> GetAll();
|
|||
|
|
|||
|
Room? Get(int id);
|
|||
|
|
|||
|
Room? Create(Room room);
|
|||
|
|
|||
|
Room? Update(Room room);
|
|||
|
|
|||
|
Room? Delete(int id);
|
|||
|
}
|
|||
|
}
|