public async Task <IActionResult> AllAccounts(long customerId) { FinnOneCustomerAccount accounts = await customerAccountRepository.GetAllAccounts(customerId); return(Ok(new SingleDataResponse <FinnOneCustomerAccount> { Data = accounts })); }
public async Task <IActionResult> AllAccounts(long customerId) { FinnOneCustomerAccount accounts = await customerAccountRepository.GetAllAccounts(customerId); return(Ok(new SingleDataResponse <FinnOneCustomerAccount> { Data = accounts })); }