示例#1
0
 public IHttpActionResult Put(int id, trxTenagaPendukungImp myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
示例#2
0
 public IHttpActionResult Post(trxTenagaPendukungImp myData)
 {
     _repository.Post(myData);
     return(Ok(myData));
 }