Пример #1
0
 public CommentsService(ApplicationDbContext context, IDbLogService dbLogService,
                        ISecurityService securityService, IUserService userService,
                        IBusinessSecurityService businessSecurityService)
 {
     _securityService         = securityService;
     _dbContext               = context;
     _userService             = userService;
     _businessSecurityService = businessSecurityService;
 }
Пример #2
0
 public CourseInstanceService(ApplicationDbContext context,
                              IDbLogService dbLogService,
                              IQuestionService questionService,
                              ISecurityService securityService,
                              IUserService userService,
                              IBusinessSecurityService businessSecurityService)
 {
     _questionService         = questionService;
     _securityService         = securityService;
     _dbContext               = context;
     _userService             = userService;
     _businessSecurityService = businessSecurityService;
     _dbLogService            = dbLogService;
     _random = new Random();
 }