public JsonResult UpdateDepositStatus(string id, string status) { string error = ""; string msg = ""; try { DepositModel depositModel = new DepositModel(); int Id = ValidationUtility.ToInteger(id); depositModel.UpdaqteDepositModel(Id, status); error = "Success"; msg = "Status Changed Successfully"; } catch (Exception ex) { error = "Error"; msg = "Status is not Changed "; log.Error("Exception in UpdateDepositStatus ",ex); } ResponseDTO resDTO = new ResponseDTO { Error = error, Message = msg }; return Json(resDTO, JsonRequestBehavior.AllowGet); }