public Result <AccountItem> Put(int id, [FromBody] AccountItem value) { return(_repositoryCommand.Update(id, value)); }
public IActionResult UpdateAccount([FromBody] AccountModel body) { return(this.Return(() => _accountCommand.Update(body))); }