public object Get() { TableOperation operation = TableOperation.Retrieve <ScoreConfig>("config", "score"); ScoreConfig score = _table.Execute(operation).Result as ScoreConfig; return(new { hitScore = score.HitScore, missScore = score.MissScore }); }
public void Post([FromBody] ScoreConfig score) { TableOperation operation = TableOperation.InsertOrMerge(score); _table.Execute(operation); }