public object Get() { TableOperation operation = TableOperation.Retrieve <ColorConfig>("config", "color"); ColorConfig colors = _table.Execute(operation).Result as ColorConfig; return(new { spiderColor = colors.Spider, beamColor = colors.Beam }); }
public void Post([FromBody] ColorConfig colors) { TableOperation operation = TableOperation.InsertOrMerge(colors); _table.Execute(operation); }