示例#1
0
 public int UpdateProductById(
     string id,
     string name,
     decimal price,
     int count)
 {
     try
     {
         _productRepositorie.UpdateProductById(id, name, price, count);
         return(0);
     }
     catch (ArgumentException e)
     {
         return(1);
     }
 }