21 lines
410 B
C#
21 lines
410 B
C#
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);
|
|
}
|
|
}
|