Example #1
0
        public async Task <IEnumerable <MusicianResource> > GetAllByFollowerIdAsync(int followerId)
        {
            var followed = await _musicianService.ListByFollowerIdAsync(followerId);

            var resources = _mapper.Map <IEnumerable <Musician>, IEnumerable <MusicianResource> >(followed);

            return(resources);
        }