public async Task CanGetCustomerByCprNumber_OK() { InitializeCustomerHandler(); var customer = await _customerHandler.GetCustomerAsync("12341231"); Assert.True(customer != null); }
public async Task <IActionResult> Customer(string cprNumber) { return(View(await _customerHandler.GetCustomerAsync(cprNumber))); }