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));
 }