// GET: Branches public ActionResult Index() { var branches = _branchManager.GetBranchWithOrganization(); return(View(branches.ToList())); }
// Get All Branch public JsonResult GetAllBranch() { var branches = _branchManager.GetBranchWithOrganization(); return(Json(branches, JsonRequestBehavior.AllowGet)); }