Update to Onion Architecture.
This commit is contained in:
20
Back/skydiveLogs-api.Business/Interfaces/IAircraftService.cs
Normal file
20
Back/skydiveLogs-api.Business/Interfaces/IAircraftService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
|
||||
namespace skydiveLogs_api.Business.Interfaces
|
||||
{
|
||||
public interface IAircraftService
|
||||
{
|
||||
IEnumerable<Aircraft> GetAllAircrafts();
|
||||
|
||||
Aircraft GetAircraftById(int id);
|
||||
|
||||
void AddNewAircraft(Aircraft aircraft);
|
||||
|
||||
void UpdateAircraft(int id, Aircraft aircraft);
|
||||
|
||||
void DeleteAircraftById(int id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user