private async Task <Guid> SaveBuilding(BuildingModel model) { var building = model.MapToDatabase(); building.Owner = User.FindFirstValue(ClaimTypes.NameIdentifier); building.AddedAtUtc = DateTime.Now; building.Id = Guid.NewGuid(); building.IsActive = true; await _buildingService.SaveAsync(building); return(building.Id); }