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())); }
public ActionResult BranchList() { List <BranchMasterEntity> _branchEntity = BranchHelper.GetBranchData(); return(View("BranchDetails", _branchEntity)); }