public JsonResult UpdateCommentandImgName(Photos photos) { Photos p = photoRepository.UpdateCommentAndImgName(photos); toastNotification.AddSuccessToastMessage("Data Saved Successfully"); return(Json(p)); }