コード例 #1
0
 //
 // GET: /AddressBank/
 public async Task<ActionResult> _GetBankByCityMathod(string city, string country, string bank)
 {
     AddressForBankBinder binder = new AddressForBankBinder();
    /* if(bank==null){
         var res = await binder.BindData(city, country);
         return PartialView(res);
     }else{*/
         string banks = bank;
          var res = await binder.BindDataByBank(city, country,bank);
          return PartialView(res);
     }
コード例 #2
0
        public async Task<List<AddressModelForBanks>> Get(string city, string country){
            AddressForBankBinder binder = new AddressForBankBinder();
            var res = await binder.BindData(city, country);

            return null;
        }
コード例 #3
0
ファイル: FunctionsController.cs プロジェクト: GoGo228/HIREpo
 public async Task<ActionResult> GetBankByCityMathod(string city,string country)
 {
     AddressForBankBinder binder = new AddressForBankBinder(); 
     var res = await binder.BindData(city, country);
     return View(res);
 }
コード例 #4
0
 public IEnumerable<AddressModelForBanks> Get(string city, string country)
 {
     AddressForBankBinder binder = new AddressForBankBinder();
     var res = binder.BindData(city, country);
     return res;
 }
コード例 #5
0
 public ActionResult _GetAllBanksMathod()
 {
     AddressForBankBinder binder = new AddressForBankBinder();
     var res = binder.BindDataAll();
     return PartialView(res);
 }
コード例 #6
0
 public  ActionResult _GetAllBanksByBankMathod(string bank, string country)
 {
     AddressForBankBinder binder = new AddressForBankBinder();
     var res = binder.BindDataByBank(bank, country);
     return PartialView(res);
 }