public CommentController( ICommentMapper commentMapper, IAddEntityCommand addEntityCommand, ICommentControllerValidator validator) { this.commentMapper = commentMapper; this.addEntityCommand = addEntityCommand; this.validator = validator; }
public AddResponseRequestHandler( IAddEntityCommand addEntityCommand, IGetEntityByIdQuery getEntityByIdQuery, IGetAllEntitiesQuery getAllEntitiesQuery, IHttpContextAccessor httpContextAccessor) { AddEntityCommand = addEntityCommand; GetEntityByIdQuery = getEntityByIdQuery; GetAllEntitiesQuery = getAllEntitiesQuery; HttpContextAccessor = httpContextAccessor; }
public BlogPostController(IAddEntityCommand addEntityCommand, IBlogPostMapper blogPostMapper, IBlogPostControllerValidator validator, IEmailSenderService emailSenderService, IGetAllEntityQuery getAllEntityQuery, IBlogPostViewModelBuilder blogPostViewModelBuilder, IGetEntityByIdQuery getEntityByIdQuery) { this.addEntityCommand = addEntityCommand; this.blogPostMapper = blogPostMapper; this.validator = validator; this.emailSenderService = emailSenderService; this.getAllEntityQuery = getAllEntityQuery; this.blogPostViewModelBuilder = blogPostViewModelBuilder; this.getEntityByIdQuery = getEntityByIdQuery; }
public AddQuestionnaireRequestHandler(IAddEntityCommand addEntityCommand, IGetEntityByIdQuery getEntityByIdQuery, ITimeProvider timeProvider) { AddEntityCommand = addEntityCommand; GetEntityByIdQuery = getEntityByIdQuery; TimeProvider = timeProvider; }
public RegisterUserRequestHandler(IAddEntityCommand addEntityCommand) { AddEntityCommand = addEntityCommand; }
public AddSectionRequestHandler(IAddEntityCommand addEntityCommand, IGetEntityByIdQuery getEntityByIdQuery) { AddEntityCommand = addEntityCommand; GetEntityByIdQuery = getEntityByIdQuery; }
public SmtpClientEmailerService(IAddEntityCommand addEntityCommand) { this.addEntityCommand = addEntityCommand; SmtpClient = new SmtpClient(); }