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