public ActionResult DeleteParameterCompetency(List <int> collection) { try { bool success = false; string result = null; ConfigurationDAL configDAL = new ConfigurationDAL(); if (collection.Count != 0) { success = configDAL.DeleteParameterCompetency(collection); result = "Deleted"; } return(Json(new { resultMesssage = result, status = success }, JsonRequestBehavior.AllowGet)); } catch { throw; } }