public IActionResult Detail(string vin) { var customer = customerRepository.GetCustomersById(vin); if (customer == null) { return(View("Customer is not found.")); } else { return(View(customer)); } }