23 lines
420 B
C#
23 lines
420 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 IServiceLogic
|
|
{
|
|
List<Service> GetAll();
|
|
|
|
Service? Get(int id);
|
|
|
|
Service? Create(Service service);
|
|
|
|
Service? Update(Service service);
|
|
|
|
Service? Delete(int id);
|
|
}
|
|
}
|