public async Task <IActionResult> Put([FromBody] UpdateDroneRequest request, Guid id) { if (OrganisationId == Guid.Empty) { return(Forbid()); } var droneDto = _mapper.Map <DroneDto>(request); droneDto.Id = id; droneDto.Id = OrganisationId; await _droneService.UpdateAsync(droneDto); return(NoContent()); }