Add AutoMapper and update the interface of business services
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using skydiveLogs_api.Model;
|
||||
|
||||
namespace skydiveLogs_api.Business.Interface
|
||||
{
|
||||
public interface IAircraftService
|
||||
{
|
||||
IEnumerable<skydiveLogs_api.DataContract.AircraftResp> GetAllAircrafts();
|
||||
skydiveLogs_api.DataContract.AircraftResp GetAircraftById(int id);
|
||||
void AddNewAircraft(Aircraft aircraft);
|
||||
void UpdateAircraft(int id, Aircraft aircraft);
|
||||
void DeleteAircraftById(int id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user