Пример #1
0
        public async Task <IActionResult> Create([FromBody] TagCreateRequest request)
        {
            var tag = await _tagManager.CreateTagAsync(request.ToDomain(), Cancel);

            return(Ok(new { id = tag.Id, name = tag.Name }));
        }