public ActionResult Details(int?id)
        {
            try
            {
                if (id == null)
                {
                    ViewBag.Error = "Bank account not found. ";
                    return(View("Error"));
                }

                var bankAccount = _bAccountRepository.BAccountDetails((int)id);

                var viewModel = Mapper.Map <BankAccount, BAccountFVModel>(bankAccount);

                return(View(viewModel));
            }
            catch (Exception ex)
            {
                ViewBag.Error = ex.Message;
                return(View("Error"));
            }
        }