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