Exemplo n.º 1
0
        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);
            }
        }