public async Task <ActionResult <List <TagDto> > > GetAll()
        {
            var tags = await _repository.GetAllAsync();

            return(tags.Select(x => _mapper.Map <TagDto>(x)).ToList());
        }
Esempio n. 2
0
 public async Task <List <string> > GetAllTagsAsync()
 {
     return(await _tagsRepository.GetAllAsync());
 }