Beispiel #1
0
        public async Task <IActionResult> GetByIdTag(int id)
        {
            var tag = await _tagsServices.GetByIdTag(id);

            var tagDto   = _mapper.Map <TagDTO>(tag);
            var response = new GenericResponse <TagDTO>(tagDto);

            return(Ok(response));
        }