Ejemplo n.º 1
0
        public async Task <ActionResult> GetTag(int id)
        {
            var Tag = await _tagServices.GetTagAsync(id).ConfigureAwait(false);// _context.Tags.FindAsync(id);

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

            return(Ok(Tag));
        }