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)); }
public Task <IActionResult> RunAssignDatasourceVersionToRelationship() { return(_definitionSpecificationRelationshipService.AssignDatasourceVersionToRelationship(ControllerContext.HttpContext.Request)); }