-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugBugs and error-prone codeBugs and error-prone code
Description
Reporting Manager not returning the Operator Reporting Id
public async Task<List<Operator>> GetOperators(Guid estateId, CancellationToken cancellationToken){
EstateManagementGenericContext? context = await this.ContextFactory.GetContext(estateId, ReportingManager.ConnectionStringIdentifier, cancellationToken);
List<Operator> operators = await (from o in context.Operators
select new Operator
{
Name = o.Name,
EstateReportingId = context.Estates.Single(e => e.EstateId == o.EstateId).EstateReportingId,
OperatorId = o.OperatorId
}).ToListAsync(cancellationToken);
return operators;
}
Metadata
Metadata
Assignees
Labels
bugBugs and error-prone codeBugs and error-prone code