コード例 #1
0
 public StudentController(UserManager <ApplicationUser> userManager, ILogService staffLog, ISubscriptionTypeService subscriptionTypeService, IMembershipService membershipService, IStudentService studentService, IUserService userService, RoleManager <Role> roleManager, IGradeService gradeService)
 {
     _studentService          = studentService;
     _userService             = userService;
     _roleManager             = roleManager;
     _userManager             = userManager;
     _gradeService            = gradeService;
     _membershipService       = membershipService;
     _subscriptionTypeService = subscriptionTypeService;
     _staffLog = staffLog;
 }
コード例 #2
0
 public FinancialController(IMembershipService membershipService,
                            ITutorService tutorService,
                            IUserService userService,
                            ILogService staffLog,
                            IPaymentService paymentService,
                            IStaffService staffService, ISubscriptionTypeService subscriptionTypeService, UserManager <ApplicationUser> userManager)
 {
     _membershipService       = membershipService;
     _tutorService            = tutorService;
     _userService             = userService;
     _staffLog                = staffLog;
     _paymentService          = paymentService;
     _staffService            = staffService;
     _subscriptionTypeService = subscriptionTypeService;
     _userManager             = userManager;
 }
コード例 #3
0
 public SubscriptionController(ILogService staffLog, ISubscriptionTypeService subscriptionTypeService, ISubscriptionService subscriptionService)
 {
     _staffLog = staffLog;
     _subscriptionTypeService = subscriptionTypeService;
     _subscriptionService     = subscriptionService;
 }
コード例 #4
0
 public UserService(UserManager <User> userManager, ISubscriptionTypeService subscriptionTypeService)
 {
     this._userManager             = userManager;
     this._subscriptionTypeService = subscriptionTypeService;
 }
コード例 #5
0
 public SubscriptionTypeTest()
 {
     subscriptionTypeService = new SubscriptionTypeService();
 }
コード例 #6
0
 public SubscriptionTest()
 {
     this.subscriptionService = new SubscriptionSerivce();
     this.subTypeService      = new SubscriptionTypeService();
     this.currencyService     = new CurrencyService();
 }