Fix ClusterService

This commit is contained in:
Фролов 2021-12-02 11:10:24 +05:00
parent 06eb85e275
commit c55086bfee

View File

@ -129,14 +129,12 @@ namespace AsbCloudInfrastructure.Services
Caption = gDeposit.Key.Caption,
Latitude = gDeposit.Key.Latitude,
Longitude = gDeposit.Key.Longitude,
Description = "",
Clusters = gDeposit.Select(gCluster => new ClusterDto
{
Id = gCluster.Key.Id,
Caption = gCluster.Key.Caption,
Latitude = gCluster.Key.Latitude,
Longitude = gCluster.Key.Longitude,
Description = "",
Wells = gCluster.Select(well => {
var dto = well.Adapt<WellDto>();
dto.WellType = well.WellType?.Caption;