public ActionResult Delete(Survey survey) { try { _iFSurvey.Delete(survey); return(Json("")); } catch (Exception ex) { return(Json(ex)); } }
public JsonResult Delete(int id) { _iFSurvey.Delete(id); return(Json(string.Empty)); }
public JsonResult Delete(Survey survey) { _iFSurvey.Delete(survey); return(Json(string.Empty)); }