Esempio n. 1
0
 public void OnGet(int id = 0, int column = 0)
 {
     Product = _productService.GetModelAsync(m => m.Id == id).Result.data;
     if (Product.Id == 0 && column != 0)
     {
         Product.ParentId = column;
     }
 }