// PUT api/<controller>/5 /// <summary> /// Puts the specified identifier. /// </summary> /// <param name="id">The identifier.</param> /// <param name="value">The value.</param> /// <returns></returns> /// <exception cref="HttpResponseException"></exception> public EPEmployeeProject Put(string id, [FromBody]EPEmployeeProject value) { return EPEmployeeProjectManager.UpdateItem(value); }
// POST api/<controller> /// <summary> /// Posts the specified value. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public EPEmployeeProject Post([FromBody]EPEmployeeProject value) { return EPEmployeeProjectManager.AddItem(value); }