Esempio n. 1
0
        public async Task <IActionResult> GetAllAuthors()
        {
            var authors = await _authorManager.GetAuthorsWithVideos();

            var response = _mapper.Map <IEnumerable <AuthorResponse> >(authors);

            return(Ok(response));
        }