'Asp.NetCore - How To return tuple list from two tables?

I have two tables, I want to return the value of the first table and the name of the table,Tables are related,I used the following code but it has an error?

public async Task<Tuple<Guid,string>> GetProductionsHorse()
{         
    return  await _context.Horses.Include(h => h.Production)
                          .Where(h => !h.IsRemove && h.IsAccept == 1)
                          .Select(p => new Tuple<Guid,string>(p.ProductionId, p.Production.Title))
                          .ToListAsync();
}

enter image description here

Can I access both values ​​if I return the value?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source