public ActionResult TransferBalance(string accountNumber) { var acctNo = _cashier.GetCustToTransfFrm(accountNumber); if (acctNo == null) { return(RedirectToAction("SearchCustToTransferFrom", "Customer")); } /////////////// TransferModel smodel = _mapper.Map <TransferModel>(acctNo); return(View(smodel)); }