diff --git a/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs index 878d634b..8944a1c0 100644 --- a/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryWirelineRunOutController.cs @@ -48,12 +48,12 @@ namespace AsbCloudWebApi.Controllers.SAUB [HttpPost] [Route("{uid}")] [AllowAnonymous] - public IActionResult PostData(string uid, [FromBody] TelemetryWirelineRunOutBaseDto dto, CancellationToken token) + public async Task PostDataAsync(string uid, [FromBody] TelemetryWirelineRunOutBaseDto dto, CancellationToken token) { if (dto is null) return BadRequest("Dto shouldn't be null"); - var data = repository.AddOrUpdateAsync(uid, dto, token); + var data = await repository.AddOrUpdateAsync(uid, dto, token); var idWell = telemetryService.GetIdWellByTelemetryUid(uid); if (idWell is not null)