public async Task <IHttpActionResult> GetAsync(int id) { var result = await _tagsService.GetAsync(id); if (result == null) { return(NotFound()); } return(Ok(result)); }
public async Task <IActionResult> Get(Guid id) => Single(await _tagsService.GetAsync(id));