Exemplo n.º 1
0
 private void DeleteImage(HttpContext context)
 {
     string text = context.Request.Form["ValueId"];
     int num = Globals.SafeInt(text, 0);
     Maticsoft.BLL.Shop.Products.AttributeValue value2 = new Maticsoft.BLL.Shop.Products.AttributeValue();
     if (value2.DeleteImage((long) num))
     {
         context.Response.Write("SUCCESS");
     }
     else
     {
         context.Response.Write("FAILED");
     }
 }