// GET: api/Branch /// <summary> /// Get all the branches /// </summary> /// <returns>List of BranchModel</returns> public List <BranchModel> Get() { return(_branchRepository.GetBranches()); }
// GET: Branches public ActionResult Index() { return(View(_db.GetBranches())); }