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