Add a property "IsFavorite" for the drop zone.
This commit is contained in:
@@ -50,9 +50,9 @@ namespace skydiveLogs_api.Controllers
|
||||
|
||||
// PUT: api/DropZone/5
|
||||
[HttpPut("{id}")]
|
||||
public void Put(int id, [FromBody] DropZoneReq value)
|
||||
public bool Put(int id, [FromBody] DropZoneReq value)
|
||||
{
|
||||
_dropZoneService.UpdateDz(id, _mapper.Map<DropZone>(value));
|
||||
return _dropZoneService.UpdateDz(id, _mapper.Map<DropZone>(value));
|
||||
}
|
||||
|
||||
// DELETE: api/ApiWithActions/5
|
||||
|
||||
Reference in New Issue
Block a user