public ActionResult CreateDepositInterest(string id) { int interestId = string.IsNullOrEmpty(id.DecryptString()) ? default(int) : Convert.ToInt32(id.DecryptString()); var interestDto = new InterestMasterDto(); if (interestId > 0) { interestDto = _interestService.GetByID(interestId); } LoadDropDowns(); ViewBag.Result = new ResultDto(); return(View(interestDto)); }