示例#1
0
 public CourseJobUserHandler(CoursesSystemDbContext context,
                             IBackgroundJobClient backgroundJobClient,
                             IExtendedDataService <CourseJobUser> courseJobUser,
                             IExtendedDataService <SystemUsersTrainingCourses> usersCourses)
 {
     this.context             = context;
     this.backgroundJobClient = backgroundJobClient;
     this.courseJobUser       = courseJobUser;
     this.usersCourses        = usersCourses;
 }
示例#2
0
 public StudentsService(CoursesSystemDbContext context,
                        IMapperWrapper <SystemUser,
                                        SystemUserDTO> mapperWrapper,
                        IExtendedDataService <SystemUser> users,
                        IImageWorker imageWorker)
 {
     this.context       = context;
     this.mapperWrapper = mapperWrapper;
     this.users         = users;
     this.imageWorker   = imageWorker;
 }
示例#3
0
 public CoursesService(IMapperWrapper <TrainingCourse,
                                       TrainingCourseDTO> mapperWrapper,
                       IExtendedDataService <TrainingCourse> courses,
                       IExtendedDataService <SystemUser> users,
                       IImageWorker imageWorker,
                       CoursesSystemDbContext context)
 {
     this.mapperWrapper = mapperWrapper;
     this.courses       = courses;
     this.users         = users;
     this.imageWorker   = imageWorker;
     this.context       = context;
 }
示例#4
0
 public UserCoursesService(CoursesSystemDbContext context,
                           IMapperWrapper <SystemUsersTrainingCourses, SystemUsersTrainingCoursesDTO> mapperWrapper,
                           IEmailNotifyJob emailNotifyJob,
                           ICourseJobUserHandler coursesJobsUsers,
                           IExtendedDataService <TrainingCourse> courses,
                           IExtendedDataService <SystemUser> users,
                           IExtendedDataService <SystemUsersTrainingCourses> usersCourses)
 {
     this.context          = context;
     this.mapperWrapper    = mapperWrapper;
     this.emailNotifyJob   = emailNotifyJob;
     this.coursesJobsUsers = coursesJobsUsers;
     this.courses          = courses;
     this.users            = users;
     this.usersCourses     = usersCourses;
 }
示例#5
0
 public AccountService(SignInManager <SystemUser> signInManager,
                       RoleManager <SystemRole> roleManager,
                       UserManager <SystemUser> userManager,
                       IConfiguration configuration,
                       SecurityTokenHandler tokenHandler,
                       IMapperWrapper <SystemUser, SystemUserDTO> mapperWrapper,
                       IHttpClientFactory httpClientFactory,
                       IEmailService emailService,
                       IExtendedDataService <SystemUser> users,
                       IImageWorker imageWorker)
 {
     this.signInManager     = signInManager;
     this.roleManager       = roleManager;
     this.userManager       = userManager;
     this.configuration     = configuration;
     this.tokenHandler      = tokenHandler;
     this.mapperWrapper     = mapperWrapper;
     this.httpClientFactory = httpClientFactory;
     this.emailService      = emailService;
     this.users             = users;
     this.imageWorker       = imageWorker;
 }