Ejemplo n.º 1
0
        public async Task <IActionResult> OrderAndSave([FromBody] NumbersSet data)
        {
            var    sortingCommand = new SortingNumbersCommand(data.Numbers);
            string fileToken      = await _mediator.Send <string>(sortingCommand);

            return(Ok(fileToken));
        }
        public async Task <IActionResult> OrderAndSaveV2([FromBody] NumbersSet data)
        {
            string res = "ver 2.0 is UNDER CONSTRACTION";

            return(Ok(res));
        }