Exemple #1
0
 public SugarController()
 {
     this._service = new SugarService();
 }
Exemple #2
0
 public DrinkBuilder(ISugarService sugarService, IMoneyAmountService moneyAmountService)
 {
     _sugarService       = sugarService;
     _moneyAmountService = moneyAmountService;
 }
Exemple #3
0
 public void Init()
 {
     this._service    = new SugarService();
     this._controller = new SugarController(_service);
     ConfigureAutoMapper();
 }
Exemple #4
0
 public SugarController(ISugarService service)
 {
     this._service = service;
 }
 public SugarApiController()
 {
     this.service = new SugarService();
 }