Ejemplo n.º 1
0
        public async Task <IActionResult> Post_ArkProblemDetails([FromBody] Entity.V1.Input body)
        {
            var request = new Post_EntityRequestProblemDetails.V1()
            {
                EntityId = body.EntityId
            };

            var res = await _requestProcessor.ExecuteAsync(request, default);

            return(this.Ok(res));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> Post_BusinessRuleViolation([FromBody] Entity.V1.Input body)
        {
            var request = new Post_EntityRequestBusinessRuleViolation.V1()
            {
                EntityId = body.EntityId
            };

            var res = await _requestProcessor.ExecuteAsync(request, default);

            return(this.Ok(res));
        }
Ejemplo n.º 3
0
        public async Task <IActionResult> Post_ValidationFails2Errors([FromBody] Entity.V1.Input body)
        {
            var request = new Post_EntityRequest.V1()
            {
                EntityId = "StringLongerLongerThan20"
            };

            var res = await _requestProcessor.ExecuteAsync(request, default);

            return(this.Ok(res));
        }