Пример #1
0
        public Util.Util.StatusCode OrderBuilding(int townId, Guid divisionId, Guid buildingId)
        {
            var targetTown     = Towns.First(town => town.Id == townId);
            var targetTemplate = BuildingTemplates.First(tmp => tmp.Id == buildingId);

            return(targetTown.Build(divisionId, targetTemplate));
        }