public async Task CreateConfigChart(ConfigChart configChart, int categoryId, int configGroupId)
 {
     configChart.Order = GetLastOrder(categoryId, configGroupId) + 1;
     _context.ConfigCharts.Add(configChart);
     await SaveChangeAsync();
 }
 public void EditConfigChart(ConfigChart configChart)
 {
     _context.ConfigCharts.Update(configChart);
 }
Exemple #3
0
 private void Awake()
 {
     instance = this;
 }