Esempio n. 1
0
 // ctor
 public OrderController(IOrderService m_orderService, IPromotionEventManager m_promotionEventManager, ICouponCodeManager m_couponCodeManager,
                        IHepaPassportService m_passportService, IUserService m_userService)
 {
     this.m_orderService          = m_orderService;
     this.m_promotionEventManager = m_promotionEventManager;
     this.m_couponCodeManager     = m_couponCodeManager;
     this.m_passportService       = m_passportService;
     this.m_userService           = m_userService;
 }
Esempio n. 2
0
 public AccountController(ILocationService m_locationService,
                          IExperienceService m_expService,
                          ICurrencyUserManager m_currencyUserService,
                          ILearnWordResultService m_learnWordResult,
                          IClassService m_classService,
                          IHepaPassportService m_passportService,
                          IUserService m_userService)
 {
     this.m_locationService        = m_locationService;
     this.m_userManager            = new ApplicationUserManager(new UserStore <ApplicationUser>(DatabaseService.CreateDbContext()));
     this.m_expService             = m_expService;
     this.m_currencyUserService    = m_currencyUserService;
     this.m_learnWordResultService = m_learnWordResult;
     this.m_passportService        = m_passportService;
     this.m_userService            = m_userService;
     this.m_classService           = m_classService;
 }
Esempio n. 3
0
 public HepaPassportController(IHepaPassportService passportService)
 {
     this.passportService = passportService;
 }