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