public SugarController() { this._service = new SugarService(); }
public DrinkBuilder(ISugarService sugarService, IMoneyAmountService moneyAmountService) { _sugarService = sugarService; _moneyAmountService = moneyAmountService; }
public void Init() { this._service = new SugarService(); this._controller = new SugarController(_service); ConfigureAutoMapper(); }
public SugarController(ISugarService service) { this._service = service; }
public SugarApiController() { this.service = new SugarService(); }