public IHttpActionResult Put(int id, trxTenagaPendukungImp myData) { _repository.Put(id, myData); return(StatusCode(HttpStatusCode.NoContent)); }
public IHttpActionResult Post(trxTenagaPendukungImp myData) { _repository.Post(myData); return(Ok(myData)); }