// PUT api/value/5 public IEnumerable<Value> Put(string id, [FromBody]Value pValue) { ValueBUS value = new ValueBUS(); return value.Put(id, pValue); }
// POST api/value public IEnumerable<Value> Post([FromBody]Value pValue) { ValueBUS value = new ValueBUS(); return value.Post(pValue); }
// GET api/value public IEnumerable<Value> Get() { ValueBUS value = new ValueBUS(); return value.Get(); }
// GET api/value/5 public Value Get(string id) { ValueBUS value = new ValueBUS(); return value.GetByID(id); }
// DELETE api/value/5 public IEnumerable<Value> Delete(string id) { ValueBUS value = new ValueBUS(); return value.Delete(id); }