public ActionResult DeleteMenuImageBeforeUpdate(string imagePath) { int errorCode = InputControl.DeleteMenuImageBeforeUpdate(imagePath); return(Json(new { result = errorCode })); }