
.NET Core Microservices - Configure Shopping Cart API with New Methods
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two parameters needed for the apply coupon method?
Coupon Code and Cart ID
Cart ID and Product ID
User ID and Cart ID
User ID and Coupon Code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of the apply coupon method?
String
Void
Boolean
Integer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in implementing the apply coupon method in the repository?
Update the coupon code
Retrieve the card header from the database
Save changes to the database
Remove the coupon code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of adding endpoints in the cart controller?
To manage user accounts
To handle requests for applying and removing coupons
To update product details
To process payments
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data is retrieved from the body for the remove coupon endpoint?
Coupon Code
User ID
Product ID
Cart ID
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?