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