public void UpdateCustomer(Customer customer)
 {
     CustomerResource objCustRes = new CustomerResource();
     object[] param ={ customer };
     objCustRes.UpdateRecord(param);
 }