public async Task <IActionResult> AddMessageAsync(long resourceId, [FromBody] MessageEntity message) { _logger.LogDebug($"ResourceId: {resourceId} | Start AddMessageAsync"); await _service.AddMessageAsync(resourceId, message); _logger.LogInformation($"ResourceId: {resourceId} | End AddMessageAsync"); return(NoContent()); }