public PedidoController(IPedidoService pedidoService, IRefeicaoService refeicaoService, IBebidaService bebidaService, ISobremesaService sobremesaService)
 {
     this._pedidoService    = pedidoService;
     this._refeicaoService  = refeicaoService;
     this._BebidaService    = bebidaService;
     this._sobremesaService = sobremesaService;
 }
 public BebidaController(IBebidaService bebidaService, IMapper mapper)
 {
     _bebidaService = bebidaService;
     _mapper        = mapper;
 }
Exemple #3
0
 // public PedidoController(IPedidoService pedidoService) => this._servicoPedido = pedidoService;
 public BebidaController(IBebidaService bebidaService)
 {
     this._servicoBebida = bebidaService;
 }
 public BebidaController(IBebidaService BebidaService)
 {
     this._bebidaService = BebidaService;
 }