Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public IList<Machine> GetMachineByBuilding(int buildingId, int siteId)
- {
- var machineList = context.Machine.Where(x => x.SiteId == siteId && x.AreaMachines.Any(y => y.Area.Cells.BuildingId == buildingId)).ToList();
- return machineList;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement