public ActionResult DeleteImg(int ID) { ModelState.Clear(); _educationService.DeleteIMG(ID); return(Json(new BaseApiModel() { success = ModelState.IsValid, message = ModelState[""]?.Errors[0].ErrorMessage })); }