22 lines
504 B
C#
22 lines
504 B
C#
using skydiveLogs_api.Domain;
|
|
using System.Collections.Generic;
|
|
|
|
namespace skydiveLogs_api.DomainBusiness.Interfaces
|
|
{
|
|
public interface IAircraftService
|
|
{
|
|
#region Public Methods
|
|
|
|
void AddNewAircraft(Aircraft aircraft);
|
|
|
|
void DeleteAircraftById(int id);
|
|
|
|
Aircraft GetAircraftById(int id);
|
|
|
|
IEnumerable<Aircraft> GetAllAircrafts();
|
|
|
|
bool UpdateAircraft(int id, Aircraft aircraft, bool resetCache = true);
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |