public CustomAttributesControllerServices(ICatalogDatabase database, ICustomAttributesCommands commands)
 {
     Database = database ?? throw new ArgumentNullException(nameof(database));
     Commands = commands ?? throw new ArgumentNullException(nameof(commands));
 }
Beispiel #2
0
 public ProductsControllerServices(ICatalogDatabase database, IProductCommands commands)
 {
     Database = database ?? throw new ArgumentNullException(nameof(database));
     Commands = commands ?? throw new ArgumentNullException(nameof(commands));
 }