Update to Onion Architecture.

This commit is contained in:
Sébastien André
2021-03-01 20:33:00 +01:00
parent e0c41131cc
commit 9341bb284e
70 changed files with 222 additions and 202 deletions

View 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);
}
}