public BuildingRepositry() { BuildingandFreezerEntities db = new BuildingandFreezerEntities(); Buildings = db.Buildings.ToList(); Employess = db.Employesses.ToList(); Matriels = db.Matriels.ToList(); NonWorks = db.NonWorks.ToList(); Reserves = db.Reserves.ToList(); BuildingMatrial = db.BuildingMatrials.ToList(); BankBuilding = db.BankBuildings.ToList(); ClientReserve = db.ClientReserves.ToList(); BuildingEmployee = db.BuildingEmployees.ToList(); NonWorksTables = db.NonWorksTables.ToList(); }