Add AutoMapper config to convert the return data API
This commit is contained in:
@@ -7,10 +7,14 @@ namespace skydiveLogs_api.Business.Interface
|
||||
{
|
||||
public interface IAircraftService
|
||||
{
|
||||
IEnumerable<skydiveLogs_api.DataContract.AircraftResp> GetAllAircrafts();
|
||||
skydiveLogs_api.DataContract.AircraftResp GetAircraftById(int id);
|
||||
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