public IActionResult GetById(int id) { var item = _droneService.GetOne(id); if (item == null) { Log.Error("GetById({ ID}) NOT FOUND", id); return(NotFound()); } return(Ok(item)); }
public IActionResult GetById(int id) { var item = _droneService.GetOne(id); if (item == null) { Log.Error("GetById({ ID}) NOT FOUND", id); return(NotFound()); } return(Ok(item)); }