public async Task <bool> Put([FromBody] ChartEntity chart) { try { IChartRepository <ChartEntity> Respository = new ChartRepository <ChartEntity>(config); await Respository.UpdateItemAsync(chart.id, chart, "Chart"); return(true); } catch { return(false); } }