public async Task <Album> GetByIdAsync(int id, CancellationToken ct = default) { var album = await _context.GetAlbumAsync(id); return(album.First()); }
public async Task <Album> GetByIdAsync(int id, CancellationToken ct = default(CancellationToken)) { return(_context.GetAlbumAsync(id).Result.First()); }