public AppointmentController(IAppointmentBus iAppointmentBus) { _iAppointmentBus = iAppointmentBus; }
public AppointmentWebSocketHandler(string userId, IAppointmentBus iAppointmentBus) { _iAppointmentBus = iAppointmentBus; _userId = userId; }
public void Execute(IJobExecutionContext context) { _iAppointmentBus = (IAppointmentBus)GlobalConfiguration.Configuration.DependencyResolver.GetService(typeof(IAppointmentBus)); _iAppointmentBus.SendEmailForResolvedAppointments(); }