Example #1
0
        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();
        }
Example #2
0
 public void fillShowCityModel(UserDetailsModel U, CityDetailsModel C)
 {
     this.UserDetailsModel = U;
     this.CityDetailsModel = C;
 }