C# Класс Agathas.Storefront.Ui.Web.Controllers.BasketController

Наследование: Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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