.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

Hard

Created by

Quizizz 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