// POST api/<controller> public void Post(int id) { { CustomerHL c = new CustomerHL(); c.setDefaultPerfernces(id); } }
// PUT api/<controller>/5 public void Put(int id, string arr) { CustomerHL ch = new CustomerHL(); ch.updatePrefernces(id, arr); }