Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserFeedbackController"/> class.
 /// </summary>
 /// <param name="userFeedbackService">The injected user feedback service.</param>
 /// <param name="httpContextAccessor">The injected http context accessor provider.</param>
 public UserFeedbackController(
     IUserFeedbackService userFeedbackService,
     IHttpContextAccessor httpContextAccessor)
 {
     this.userFeedbackService = userFeedbackService;
     this.httpContextAccessor = httpContextAccessor;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserFeedbackController"/> class.
 /// </summary>
 /// <param name="feedbackService">The injected user feedback service.</param>
 /// <param name="httpContextAccessor">The injected http context accessor provider.</param>
 /// <param name="authorizationService">The injected authorization service.</param>
 public UserFeedbackController(
     IUserFeedbackService feedbackService,
     IHttpContextAccessor httpContextAccessor,
     IAuthorizationService authorizationService)
 {
     this.feedbackService      = feedbackService;
     this.httpContextAccessor  = httpContextAccessor;
     this.authorizationService = authorizationService;
 }
Example #3
0
 public RunService(
     ICsvService csvService,
     IEnrollmentObjectService enrollmentService,
     IFileService fileService,
     IUserFeedbackService userFeedbackService,
     IJsonService jsonService)
 {
     _csvService          = csvService;
     _enrollmentService   = enrollmentService;
     _fileService         = fileService;
     _userFeedbackService = userFeedbackService;
     _jsonService         = jsonService;
 }
 public FeedbackController(IUserFeedbackService userFeedbackService)
 {
     _userFeedbackService = userFeedbackService;
 }
Example #5
0
 public RunService(IFileService fileService, IParserService parserService, IUserFeedbackService userFeedbackService)
 {
     _fileService         = fileService;
     _parserService       = parserService;
     _userFeedbackService = userFeedbackService;
 }