コード例 #1
0
 public async Task <IActionResult> AddNewResource([FromBody] AddNewResourceCommand eventModel)
 {
     return(Ok(await _mediator.Send(eventModel)));
 }
        public async Task <IActionResult> AddNewConfiguration([FromBody] AddNewResourceCommand command)
        {
            await _mediator.Send(command);

            return(Ok());
        }