public async Task <IActionResult> Update([FromBody] Customer customer)
        {
            Customer selectcust = await IRepo.GetCustomerById(customer.Id);


            if (selectcust == null)
            {
                return(NotFound());
            }
            selectcust.PhoneNumber = customer.PhoneNumber;
            selectcust.Address     = customer.Address;
            selectcust.City        = customer.City;
            await IRepo.UpdateCustomer(selectcust);

            await IRepo.Save();

            return(NoContent());
        }