public EmailSender(IUserRepository repository, ISmtpConfigurationService service) { this.repository = repository; this.service = service; _razorLightEngine = new RazorLightEngineBuilder() .UseEmbeddedResourcesProject(typeof(DependencyInjection)) .UseMemoryCachingProvider() .Build(); }
public UpdateConfigurationCommandHandle(ISmtpConfigurationService smtpService) { this.smtpService = smtpService; }
public GetSmtpConfigurationQueryHandler(ISmtpConfigurationService smtpSerive) { this.smtpSerive = smtpSerive; }