Method | Description | |
---|---|---|
GetKeg ( string kegId ) : |
||
GetKegOnTap ( string tapId ) : |
||
GetKegs ( ) : IEnumerable |
||
GetKegs ( bool isEmpty ) : IEnumerable |
||
GetKegsOnTap ( ) : IEnumerable |
||
KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System |
Method | Description | |
---|---|---|
CreateKeg ( string beerId, double capacity ) : string | ||
UpdateCapacityAndPoured ( string kegId, double capacity, double amountOfBeerPoured ) : void |
public GetKeg ( string kegId ) : |
||
kegId | string | |
return |
public GetKegOnTap ( string tapId ) : |
||
tapId | string | |
return |
public GetKegs ( bool isEmpty ) : IEnumerable |
||
isEmpty | bool | |
return | IEnumerable |
public KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System | ||
kegRepository | IKegRepository | |
tapRepository | ITapRepository | |
beerRepository | IBeerRepository | |
return | System |