public async Task <IEnumerable <TEntityDto> > GetAllAsync() { loggerHelper.LogInfo(GetType().FullName, "Entidad consultada"); return(from book in await repository.GetAllAsync() select Mapper.Map <TEntityDto>(book)); }
public async Task <IEnumerable <TEntityDto> > GetAllAsync() { return(from book in await repository.GetAllAsync() select Mapper.Map <TEntityDto>(book)); }