Created
December 13, 2019 10:40
-
-
Save mortezadalil/f6ff3bc04f07ce49d930e832f8cfa695 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HttpPost("Add2")] | |
public async Task<IActionResult> Add2([FromBody]AddPostCommand command) | |
{ | |
var result = await _mediator.Send(command); | |
return Ok(result); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment