public ComandaController
     (ICommandDispatcher commandDispatcher,
     IUnitOfWork unitOfWork,
     IComandaQuery comandaQuery,
     IHubContext <FavoDeMelHub> hub) : base(commandDispatcher, unitOfWork)
 {
     _comandaQuery = comandaQuery;
     _hub          = hub;
 }
Beispiel #2
0
 public ComandaService(IGenericsRepository repository, IMercaderiaService mercaderiaService, IComandaQuery query)
 {
     _repository        = repository;
     _mercaderiaService = mercaderiaService;
     _query             = query;
 }