public async Task <IHttpActionResult> GetAsync(int id)
        {
            var result = await _tagsService.GetAsync(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }
Exemple #2
0
 public async Task <IActionResult> Get(Guid id)
 => Single(await _tagsService.GetAsync(id));