Правка инициализации request в методе GetByUid контроллера ProcessMapPlanBaseController

This commit is contained in:
Olga Nemt 2024-05-31 13:40:39 +05:00
parent b41f25913e
commit d414fad58c

View File

@ -189,10 +189,10 @@ public abstract class ProcessMapPlanBaseController<TDto> : ControllerBase
if (idWell < 0)
return this.ValidationBadRequest(nameof(uid), "Скважина по uid не найдена");
var serviceRequest = new ProcessMapPlanBaseRequestWithWell(new ProcessMapPlanBaseRequest()
var serviceRequest = new ProcessMapPlanBaseRequestWithWell(idWell)
{
UpdateFrom = updateFrom,
}, idWell);
};
var result = await repository.GetChangeLog(serviceRequest, null, token);
return Ok(result);