23 lines
400 B
C#
23 lines
400 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 IGuestLogic
|
|||
|
{
|
|||
|
List<Guest> GetAll();
|
|||
|
|
|||
|
Guest? Get(int id);
|
|||
|
|
|||
|
Guest? Create(Guest guest);
|
|||
|
|
|||
|
Guest? Update(Guest guest);
|
|||
|
|
|||
|
Guest? Delete(int id);
|
|||
|
}
|
|||
|
}
|