コード例 #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 EfRepository(CoursesSystemDbContext context)
 {
     this.context = context;
 }
コード例 #6
0
 public ExtendedDataService(CoursesSystemDbContext context) : base(context)
 {
 }
コード例 #7
0
ファイル: DataService.cs プロジェクト: Ethriel/CoursesProject
 public DataService(CoursesSystemDbContext context)
 {
     Set     = context.Set <TEntity>();
     Context = context;
 }
コード例 #8
0
 public EntitySaver(CoursesSystemDbContext context)
 {
     this.context = context;
 }