コード例 #1
0
        public ActionResult EditDetails(string id)
        {
            ViewBag.BranchDetails      = new BranchMasterEntity();
            ViewBag.CountryList        = CountryHelper.GetCountryData();
            ViewBag.StateByCountryList = StateByCountryHelper.GetStateByCountryData("0");
            List <BranchMasterEntity> _branchEntity = BranchHelper.GetBranchData(id);

            return(View("Index", _branchEntity.FirstOrDefault()));
        }
コード例 #2
0
        public ActionResult BranchList()
        {
            List <BranchMasterEntity> _branchEntity = BranchHelper.GetBranchData();

            return(View("BranchDetails", _branchEntity));
        }