How can i select distinct() based on one field?
I have the following LINQ expression, how can I select distinct by ID field. for some reason i used .Distinct() but keeps shown me a duplicate, I want to show just one record
 var customersbyName = await _context.vw_CustomerSearch.AsNoTracking()
                            .Where(c => c.Name.Contains(request.searchWord))   
                            .Distinct()
                            .ToListAsync();
 
     
    