/// <summary> /// Initializes a new instance of the <see cref="PrescriptionPickupController"/> class. /// </summary> /// <param name="kernel"> /// The kernel. /// </param> public PrescriptionPickupController(IKernel kernel) { Kernel = kernel; pickupManager = kernel.Get<PrescriptionPickups>(); }
/// <summary> /// Initializes a new instance of the <see cref="PrescriptionService" /> /// class /// </summary> /// <param name="kernel"> /// The dependency injection object /// </param> public PrescriptionService(IKernel kernel) { this.kernel = kernel; medicationManager = this.kernel.Get<Medications>(); pickupManager = this.kernel.Get<PrescriptionPickups>(); }