public async Task <IActionResult> EditCustomer(int id) { var item = await _customerFactory.GetObject($"api/customer/{id}"); return(View(item)); }