Implementation of repositories and return infos
This commit is contained in:
@@ -31,7 +31,8 @@ namespace skydiveLogs_api.Controllers
|
||||
}
|
||||
|
||||
// GET: api/Aircraft/5
|
||||
[HttpGet("{id}", Name = "Get")]
|
||||
//[HttpGet("{id}", Name = "Get")]
|
||||
[HttpGet("{id}")]
|
||||
public AircraftResp Get(int id)
|
||||
{
|
||||
var result = _aircraftService.GetAircraftById(id);
|
||||
|
||||
Reference in New Issue
Block a user