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