public Task <IActionResult> AssignDatasourceVersionToRelationship([FromBody] AssignDatasourceModel assignDatasourceModel)
        {
            Reference user          = ControllerContext.HttpContext.Request.GetUserOrDefault();
            string    correlationId = ControllerContext.HttpContext.Request.GetCorrelationId();

            return(_definitionSpecificationRelationshipService.AssignDatasourceVersionToRelationship(assignDatasourceModel, user, correlationId));
        }
Пример #2
0
 public Task <IActionResult> RunAssignDatasourceVersionToRelationship()
 {
     return(_definitionSpecificationRelationshipService.AssignDatasourceVersionToRelationship(ControllerContext.HttpContext.Request));
 }