Search Header Logo
.NET Core Microservices - Cart Controller and Service for Applying or Removing Coupon

.NET Core Microservices - Cart Controller and Service for Applying or Removing Coupon

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains how to add and implement action methods in a card controller and cart service. It covers the process of creating 'apply coupon' and 'remove coupon' methods, integrating them into the cart service, and then using these methods in the cart controller. The tutorial emphasizes the importance of correctly handling user IDs and access tokens, and ensuring that the methods are asynchronous. The implementation is verified by redirecting responses and handling null cases appropriately.

Read more

2 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the implementation of the 'apply coupon' method differ from the 'remove coupon' method?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What should be done if the response from the 'apply coupon' method is null?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?