using System.IO; using AsbCloudApp.Data; using AsbCloudApp.Data.Trajectory; using AsbCloudApp.Requests.ParserOptions; using AsbCloudInfrastructure.Services.Parser; namespace AsbCloudInfrastructure.Services.Trajectory.Parser; public abstract class TrajectoryParser : ParserExcelService where TDto : TrajectoryGeoDto { protected override int HeaderRowsCount => 2; public override ParserResultDto Parse(Stream file, WellRelatedParserRequest options) { var result = base.Parse(file, options); foreach (var item in result.Item) item.Item.IdWell = options.IdWell; return result; } }