Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InventoryItemDetailView"/> class.
 /// </summary>
 /// <param name="database">The database.</param>
 /// <param name="hub">The hub.</param>
 public InventoryItemDetailView(
     IReadModelRepository <InventoryItemDetailsDto, Guid> database,
     InventoryHub hub)
 {
     _database = database;
     _hub      = hub;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InventoryListView"/> class.
 /// </summary>
 /// <param name="database">The database.</param>
 /// <param name="hub">The hub.</param>
 public InventoryListView(IReadModelRepository <InventoryItemListDto, Guid> database, InventoryHub hub)
 {
     _database = database;
     _hub      = hub;
 }