public async Task <IEnumerable <AuthorModel> > AllAsync() { var authors = await _repository.AllAsync(); var mapped = _mapper.Map <IEnumerable <AuthorModel> >(authors); return(mapped); }