public async Task <IActionResult> PutCustomers([FromRoute] int id, [FromBody] ViewCustomer customer)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     if (!customersManager.CustomersExists(id))
     {
         return(NotFound());
     }
     return(Ok(await customersManager.PutCustomers(id, customer)));
 }