/// <summary>
        /// Initializes a new instance of the <see cref="FunzaColorController"/> class.
        /// </summary>
        /// <param name="hubContext"></param>
        /// <param name="pageQueryCommand">The page query command</param>
        /// <param name="getAllCommand">The get all command.</param>
        /// <param name="getByIdCommand">The get by identifier command.</param>
        /// <param name="insertCommand">The insert command.</param>
        /// <param name="updateCommand">The update command.</param>
        /// <param name="deleteCommand">The delete command.</param>
        public ProductQuoteController(IHubContext <GlobalHub, IGlobalHub> hubContext, IFunzaQuoteGetItemsCommand pageQueryCommand, IProductGetByIdCommand getByIdCommand, IInternalQuoteClient quoteClient) : base()
        {
            this.SignalRHubContext = hubContext;
            this.PageQueryCommand  = pageQueryCommand;
            this.GetByIdCommand    = getByIdCommand;

            this.QuoteClient = quoteClient;
        }
Exemplo n.º 2
0
 public QuoteRepository(FunzaInternalClients.Quote.IInternalQuoteClient QuoteClient)
 {
     this.QuoteClient = QuoteClient;
 }