Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extension methods for saving/updating inventory #4

Open
frederikvig opened this issue Dec 8, 2016 · 1 comment
Open

New extension methods for saving/updating inventory #4

frederikvig opened this issue Dec 8, 2016 · 1 comment
Assignees

Comments

@frederikvig
Copy link
Member

We need to create some extension methods to make it easy to add/update inventory.

http://world.episerver.com/documentation/developer-guides/commerce/warehouses-and-inventories/Warehouses-and-inventories-examples/

Add a simpler one that doesn't track inventory.

@marisks
Copy link
Member

marisks commented Jan 12, 2017

I think that instead of extension methods better would be to create some service class or similar. Extension methods are good for querying but it is not a good practice to use those for an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants