public PortfolioController(IPortfolioServices portfolioServices,
                            IOrderServices orderServices,
                            ICommentServices commentServices,
                            IPurchasedPortfolioServices ppServices,
                            HtmlEncoder htmlEncoder,
                            JavaScriptEncoder javascriptEncoder)
 {
     _portfolioServices = portfolioServices;
     _orderServices     = orderServices;
     _commentServices   = commentServices;
     _htmlEncoder       = htmlEncoder;
     _javaScriptEncoder = javascriptEncoder;
     _ppServices        = ppServices;
 }
示例#2
0
 public OrderController(IOrderServices orderService,
                        IPortfolioServices portfolioServices,
                        ICommentServices commentServices,
                        IPurchasedPortfolioServices ppservices,
                        HtmlEncoder htmlEncoder,
                        JavaScriptEncoder javascriptEncoder,
                        UrlEncoder urlEncoder)
 {
     _orderServices     = orderService;
     _portfolioServices = portfolioServices;
     _commentServices   = commentServices;
     _ppServices        = ppservices;
     _htmlEncoder       = htmlEncoder;
     _javaScriptEncoder = javascriptEncoder;
     _urlEncoder        = urlEncoder;
 }
 public PurchaseController(IPurchasedPortfolioServices ppServices)
 {
     _ppServices = ppServices;
 }