/// <summary> /// Initializes a new instance of the <see cref="CsvExportService"/> class. /// </summary> /// <param name="noteDelegate">The note delegate to interact with the DB.</param> /// <param name="userProfileDelegate">The user profile delegate to interact with the DB.</param> /// <param name="commentDelegate">The comment delegate to interact with the DB.</param> /// <param name="ratingDelegate">The rating delegate to interact with the DB.</param> public CsvExportService( INoteDelegate noteDelegate, IUserProfileDelegate userProfileDelegate, ICommentDelegate commentDelegate, IRatingDelegate ratingDelegate) { this.noteDelegate = noteDelegate; this.userProfileDelegate = userProfileDelegate; this.commentDelegate = commentDelegate; this.ratingDelegate = ratingDelegate; }
/// <summary> /// Initializes a new instance of the <see cref="UserFeedbackService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="feedbackDelegate">The feedback delegate to perform the work.</param> /// <param name="ratingDelegate">The rating delegate to perform the work.</param> public UserFeedbackService(ILogger <UserFeedbackService> logger, IFeedbackDelegate feedbackDelegate, IRatingDelegate ratingDelegate) { this.logger = logger; this.feedbackDelegate = feedbackDelegate; this.ratingDelegate = ratingDelegate; }