public ActionResult Enable(ProductTypeModel[] model) { foreach (var item in model) { var type = _productTypeService.Find(item.Id); _productTypeService.Enable(type); } return(AjaxForm().ReloadPage()); }