Exemple #1
0
 public LearnWordController(ICommentService m_commentService, ILearnWordService m_learnWordService, ICurrencyUserManager m_currencyUserService,
                            IExperienceService m_expService, ICourseService m_courseService, IClassService m_classService, IUserService m_userService)
 {
     this.m_learnWordService    = m_learnWordService;
     this.m_commentService      = m_commentService;
     this.m_currencyUserService = m_currencyUserService;
     this.m_expService          = m_expService;
     this.m_courseService       = m_courseService;
     this.m_classService        = m_classService;
     this.m_userService         = m_userService;
 }
Exemple #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;
 }