Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductController"/> class.
 /// </summary>
 /// <param name="hubContext"></param>
 /// <param name="quoteGetItemsCommand"></param>
 /// <param name="syncCommand"></param>
 public FunzaController(IHubContext <GlobalHub, IGlobalHub> hubContext, IFunzaQuoteGetItemsCommand quoteGetItemsCommand, IFunzaSyncCommand syncCommand, IInternalSyncClient funzaSync) : base()
 {
     this.SignalRHubContext    = hubContext;
     this.QuoteGetItemsCommand = quoteGetItemsCommand;
     this.SyncCommand          = syncCommand;
     this.FunzaSync            = funzaSync;
 }
Exemple #2
0
 public SyncController(IFunzaSyncCommand syncCommand)
 {
     this.FunzaSyncCommand = syncCommand;
 }