public void fillAddBuildingModel(UserDetailsModel U, int cityID, int row, int column, RS2Entities entities) { AvailableBuildings.Clear(); this.UserDetailsModel = U; this.cityID = cityID; this.row = row; this.column = column; this.AvailableBuildings = (from BUILDING in entities.buildings select BUILDING).ToList(); }
public void fillShowCityModel(UserDetailsModel U, CityDetailsModel C) { this.UserDetailsModel = U; this.CityDetailsModel = C; }