
.NET Core Microservices - Cart Controller and Service for Applying or Removing Coupon
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 is the purpose of adding an action name in the card controller?
To update the CART index
To modify the card DTO
To change the HTTP method type
To ensure the method is called correctly
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the CART service, what is required to apply a coupon?
Only a user ID
A card DTO
An access token
A response DTO
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main focus when implementing the remove coupon method in the CART service?
Handling card DTO
Ensuring no spelling mistakes
Updating the CART index
Using an access token
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step when integrating the apply coupon method in the CART controller?
Getting the user ID and access token
Copying everything from remove coupon
Redirecting to the CART index
Returning a null response
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the response from the apply coupon method is null?
The user is redirected to the CART index
The method is called again
The view is returned
An error message is displayed
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?