コード例 #1
0
 // 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 T_TMS_External_Atd_ScanTime Put(string id, [FromBody] T_TMS_External_Atd_ScanTime value)
 {
     return(T_TMS_External_Atd_ScanTimeManager.UpdateItem(value));
 }
コード例 #2
0
 // POST api/<controller>
 /// <summary>
 /// Posts the specified value.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns></returns>
 public T_TMS_External_Atd_ScanTime Post([FromBody] T_TMS_External_Atd_ScanTime value)
 {
     return(T_TMS_External_Atd_ScanTimeManager.AddItem(value));
 }