public async Task <IActionResult> Post([FromBody] PlayerFeedBackRequest feedback) { var ubiUserIdExtractionResult = UbiUserIdHeader.ExtractUbiUserId(Request); if (ubiUserIdExtractionResult.IsError) { return(BadRequest(ubiUserIdExtractionResult.Error)); } var utcTimeNow = _clock.GetTimeNow(); var feedbackSendingResult = await _feedbackSender.Send(feedback.ToDto(utcTimeNow, ubiUserIdExtractionResult.Value)); if (feedbackSendingResult.IsOk) { return(Ok()); } return(BadRequest(feedbackSendingResult.Error)); }