public async Task <IActionResult> UpdateAccount( [FromRoute] Guid organizationId, [FromRoute] int accountId, [FromBody] CustomerAccountInput model) { var account = await _accountService .Update(_agencyOwner, accountId, model); return(Ok(account)); }
public async Task <IActionResult> EditCustomerAccount([FromRoute] int id, [FromBody] CustomerAccountModel model) { await customerAccountService.Update(id, model); return(NoContent()); }