C# Class SimpleRefactoring.Controllers.OrderController

Inheritance: Controller
ファイルを表示 Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
OrderController ( IOrderRepository repository, IUserSession userSession, IShippingService shippingService, IOrderMessageBuilder orderMessageBuilder, IEmailSender emailSender ) : System.Web.Mvc
Ship ( int orderId ) : System.Web.Mvc.RedirectToRouteResult

Method Details

OrderController() public method

public OrderController ( IOrderRepository repository, IUserSession userSession, IShippingService shippingService, IOrderMessageBuilder orderMessageBuilder, IEmailSender emailSender ) : System.Web.Mvc
repository IOrderRepository
userSession IUserSession
shippingService IShippingService
orderMessageBuilder IOrderMessageBuilder
emailSender IEmailSender
return System.Web.Mvc

Ship() public method

public Ship ( int orderId ) : System.Web.Mvc.RedirectToRouteResult
orderId int
return System.Web.Mvc.RedirectToRouteResult