Added ServiceController
This commit is contained in:
15
Birdmap.BLL/Interfaces/IServiceService.cs
Normal file
15
Birdmap.BLL/Interfaces/IServiceService.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using Birdmap.DAL.Entities;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Birdmap.BLL.Interfaces
|
||||
{
|
||||
public interface IServiceService
|
||||
{
|
||||
Task<List<Service>> GetAllServicesAsync();
|
||||
Task<Service> GetServiceAsync(int id);
|
||||
Task<Service> CreateServiceAsync(Service service);
|
||||
Task DeleteServiceAsync(int id);
|
||||
Task UpdateServiceAsync(Service service);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user