// GET: api/Branch/5 /// <summary> /// Get a branch by id /// </summary> /// <param name="id"></param> /// <returns>BranchModel</returns> public BranchModel Get(int id) { return(_branchRepository.GetBranchByID(id)); }