-
Notifications
You must be signed in to change notification settings - Fork 0
create and update product functionality added #2
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove bin and obj folder so that PR can be reviewed.
You may have to create a new PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bin & Obj folders are not required to be checked in.
private readonly IProductService _productService; | ||
private readonly IMapper _mapper; | ||
|
||
public ProductController(IProductService productService,IMapper mapper) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use primary constructor ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we can ,but for dependency injection parameterized constructor is good choice .
create and update product functionality added .