Exemple #1
0
        public Keg GetKegOnTap(string tapId)
        {
            var tap = _tapRepository.GetById(tapId);
            var keg = _kegRepository.GetById(tap.KegId);

            return(keg);
        }
Exemple #2
0
        public BeerOnTap GetBeerOnTap(string tapId)
        {
            var tap = _tapRepository.GetById(tapId);

            return(CreateBeerOnTap(tap));
        }
Exemple #3
0
 public Tap GetTapById(string id)
 {
     return(_tapRepository.GetById(id));
 }