コード例 #1
0
        public async Task <IActionResult> AddResourceAsync([FromBody] ResourceEntity resource)
        {
            _logger.LogDebug($"Start AddResourceAsync");
            await _service.AddResourceAsync(resource);

            _logger.LogInformation($"ResourceId: {resource.ResourceId} | End AddResourceAsync");
            return(NoContent());
        }