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