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