コード例 #1
0
        public ActionResult Index()
        {
            var model = QueryStackWorkerService.GetAllBankAccounts();

            ViewBag.User = _user;
            return(View(model));
        }
コード例 #2
0
 public ActionResult Index(string Account)
 {
     if (string.IsNullOrWhiteSpace(Account) || Account.Equals("Please choose a customer"))
     {
         var model = QueryStackWorkerService.GetAllBankAccounts();
         ViewBag.User = _user;
         return(View(model));
     }
     return(RedirectToAction("Details", new { id = new Guid(Account) }));
 }