示例#1
0
        public IHttpActionResult setDefaultBank(Guid CustomerId, Guid UserId, Guid BankId)
        {
            objService = new BankSelectionService();
            var result = objService.setDefaultBank(CustomerId, UserId, BankId);

            return(Ok(result));
        }
示例#2
0
        public async Task <ActionResult> Index()
        {
            var bankId = Request.Form["Items"];

            System.Web.HttpContext.Current.Session["IdBank"] = bankId;
            BankSelectionService model = new BankSelectionService();
            var banks = await model.GetBanks(bankId.ToLower());

            return(View(banks));
        }