public ActionResult DeleteRoleInfo() { string strId = Request["strId"]; string[] strIds = strId.Split(','); List <int> intIds = new List <int>(); foreach (var item in strIds) { intIds.Add(int.Parse(item)); } roleInfoService.DeleteEntitys(intIds); return(Content("ok")); }