/// <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 })); }
public ActionResult Delete(int[] categoryIDs = null) { if (categoryIDs != null) { CataLogBLL.DeleteCategories(categoryIDs); } return(RedirectToAction("Index")); }