예제 #1
0
 /// <summary>
 /// Xóa nhiều thuộc tính
 /// </summary>
 /// <param name="attributeID"></param>
 /// <returns></returns>
 public ActionResult Delete(int[] attributeIDs, int ProductID)
 {
     if (attributeIDs != null)
     {
         CataLogBLL.DeleteCategories(attributeIDs);
     }
     return(RedirectToAction("Index", new { id = ProductID }));
 }
예제 #2
0
 public ActionResult Delete(int[] categoryIDs = null)
 {
     if (categoryIDs != null)
     {
         CataLogBLL.DeleteCategories(categoryIDs);
     }
     return(RedirectToAction("Index"));
 }