public Task <IActionResult> CreateDefinitionSpecificationRelationship([FromBody] CreateDefinitionSpecificationRelationshipModel createDefinitionSpecificationRelationshipModel)
        {
            Reference user          = ControllerContext.HttpContext.Request.GetUserOrDefault();
            string    correlationId = ControllerContext.HttpContext.Request.GetCorrelationId();

            return(_definitionSpecificationRelationshipService.CreateRelationship(createDefinitionSpecificationRelationshipModel, user, correlationId));
        }
コード例 #2
0
 public Task <IActionResult> RunCreateDefinitionSpecificationRelationship()
 {
     return(_definitionSpecificationRelationshipService.CreateRelationship(ControllerContext.HttpContext.Request));
 }