How do i pass a variable in the entity where, when this variable is null or empty, the query returns all data to me.
Example:
public IList<Pessoas> Pessoas { get; set; }
Pessoas = await _context.Pessoas
.Where(s => s.Nome == nome)
.ToListAsync<Pessoas>();