예제 #1
0
 public AccountService(IAccountRepository repository, ISystemErrorsRepository systemErrorsRepo, IEmailClient mailClient,
                       IOptions <AppSettings> appSettings, IBlobStorage blobStorage) : base(systemErrorsRepo)
 {
     _accountRepo = repository;
     _mailClient  = mailClient;
     _appSettings = appSettings.Value;
     _blobStorage = blobStorage;
 }
예제 #2
0
 public CourseService(ICourseRepository courseRepo, ICategoryRepository categoryRepo, ISystemErrorsRepository systemErrorsRepo, IOptions <AppSettings> appSettings)
     : base(systemErrorsRepo)
 {
     _courseRepo   = courseRepo;
     _categoryRepo = categoryRepo;
     _appSettings  = appSettings.Value;
 }
예제 #3
0
 public TopicService(ITopicRepository topicRepository, ISystemErrorsRepository systemErrorsRepo) : base(systemErrorsRepo)
 {
     _topicRepo = topicRepository;
 }
예제 #4
0
 protected ServiceBase(ISystemErrorsRepository systemErrorsRepo)
 {
     _systemErrorsRepo = systemErrorsRepo;
 }