C# 클래스 Agathas.Storefront.Ui.Web.Controllers.BasketController

상속: Controller
파일 보기 프로젝트 열기: elbandit/Asp-Net-Design-Patterns-CQRS 1 사용 예제들

공개 메소드들

메소드 설명
BasketController ( Api application, QueryService query_service, IClientStorage client_storage ) : System
Index ( ) : System.Web.Mvc.ActionResult
handle_domain_exception ( System action ) : void

비공개 메소드들

메소드 설명
Add ( int productid ) : System.Web.Mvc.ActionResult
ApplyVoucher ( string voucher_code ) : System.Web.Mvc.ActionResult
Remove ( int product_id ) : System.Web.Mvc.ActionResult
RemoveVoucher ( string voucher_code ) : System.Web.Mvc.ActionResult
display_to_user ( Agathas.Storefront.Infrastructure.DomainException domain_exception ) : void
get_basket_id ( ) : System.Guid

메소드 상세

BasketController() 공개 메소드

public BasketController ( Api application, QueryService query_service, IClientStorage client_storage ) : System
application Api
query_service QueryService
client_storage IClientStorage
리턴 System

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

handle_domain_exception() 공개 메소드

public handle_domain_exception ( System action ) : void
action System
리턴 void