Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- await _context.Manufacturers
- .Include(a => a.Addresses)
- .Include(m => m.DistributorManufacturers)
- .Where (a => a.AddressesNavigation.State = "CA")
- .Where (m => m.Id == id) // Manufacturers Id
- .Where (d => d.DistributorManufacturers.DistributorId == _user.DistributorId)
- .AsNoTracking()
- .ToListAsyc()
Add Comment
Please, Sign In to add comment