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;
 }
Exemple #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;
 }
Exemple #3
0
 public SubscriptionController(ILogService staffLog, ISubscriptionTypeService subscriptionTypeService, ISubscriptionService subscriptionService)
 {
     _staffLog = staffLog;
     _subscriptionTypeService = subscriptionTypeService;
     _subscriptionService     = subscriptionService;
 }
Exemple #4
0
 public UserService(UserManager <User> userManager, ISubscriptionTypeService subscriptionTypeService)
 {
     this._userManager             = userManager;
     this._subscriptionTypeService = subscriptionTypeService;
 }
 public SubscriptionTypeTest()
 {
     subscriptionTypeService = new SubscriptionTypeService();
 }
Exemple #6
0
 public SubscriptionTest()
 {
     this.subscriptionService = new SubscriptionSerivce();
     this.subTypeService      = new SubscriptionTypeService();
     this.currencyService     = new CurrencyService();
 }