Exemple #1
0
        public async Task <IActionResult> SpecificationsCommands([FromBody] SpecificationCreateModel specificationCreateModel)
        {
            Reference user          = Request.GetUser();
            string    correlationId = ControllerContext.HttpContext.Request.GetCorrelationId();

            return(await _specService.CreateSpecification(specificationCreateModel, user, correlationId));
        }
 public async Task <IActionResult> RunSpecificationsCommands([FromBody] string value)
 {
     return(await _specService.CreateSpecification(ControllerContext.HttpContext.Request));
 }