public async Task <ActionResult <AccountType> > EditAccount(string id, [FromBody] AccountType account) { await _accountTypeRepository.UpdateAccount(id, account); return(new OkResult()); }