public SendStatusMailApiController( IServiceProvider serviceProvider, StatusMailSettings statusMailSettings) { ServiceProvider = serviceProvider; StatusMailSettings = statusMailSettings; }
public SendStatusMailCommandHandler( IStatusMailProvider statusMailProvider, ITemplateProvider templateProvider, IMailDispatchService mailDispatchService, StatusMailSettings statusMailSettings, IBookingProvider bookingProvider) { StatusMailProvider = statusMailProvider; TemplateProvider = templateProvider; MailDispatchService = mailDispatchService; Settings = statusMailSettings; BookingProvider = bookingProvider; }