public ActionResult DeleteSet(int SetId, int WE_Id) { bool isDeleted = _dal.DeleteSet(SetId, WE_Id); var json = Json(isDeleted, JsonRequestBehavior.AllowGet); return(GetAuthenticatedJson(json)); }