/// <summary> /// Initializes a new instance of the <see cref="InsuranceService" /> /// class /// </summary> /// <param name="kernel"> /// The dependency injection object /// </param> public InsuranceService(IKernel kernel) { this.kernel = kernel; insuranceManager = this.kernel.Get<Insurers>(); requestManager = this.kernel.Get<AuthorizationRequests>(); followUpManager = this.kernel.Get<AuthorizationFollowUps>(); noteManager = this.kernel.Get<AuthorizationNotes>(); }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizationNoteController"/> class. /// </summary> /// <param name="kernel"> /// The kernel. /// </param> public AuthorizationNoteController(IKernel kernel) { Kernel = kernel; this.authorizationNoteManager = kernel.Get<AuthorizationNotes>(); }