Guest User

Untitled

a guest
Feb 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. await _context.Manufacturers
  2. .Include(a => a.Addresses)
  3. .Include(m => m.DistributorManufacturers)
  4. .Where (a => a.AddressesNavigation.State = "CA")
  5. .Where (m => m.Id == id) // Manufacturers Id
  6. .Where (d => d.DistributorManufacturers.DistributorId == _user.DistributorId)
  7. .AsNoTracking()
  8. .ToListAsyc()
Add Comment
Please, Sign In to add comment