public JsonResult GetLocationWiseBankAccountForSalaryBoucher(string locationCode) { ArrayList arr = new ArrayList(); if (!string.IsNullOrEmpty(locationCode)) { arr = hrmsData.GetBankAccountForSalaryBoucher(locationCode); } else { arr = hrmsData.GetBankAccountForSalaryBoucher(); } return(new JsonResult { Data = arr }); }