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;
 }
示例#3
0
 public AddQuestionnaireRequestValidator(IGetEntityByIdQuery getEntityByIdQuery)
 {
     GetEntityByIdQuery = getEntityByIdQuery;
 }
示例#4
0
 public AddQuestionnaireRequestHandler(IAddEntityCommand addEntityCommand, IGetEntityByIdQuery getEntityByIdQuery, ITimeProvider timeProvider)
 {
     AddEntityCommand   = addEntityCommand;
     GetEntityByIdQuery = getEntityByIdQuery;
     TimeProvider       = timeProvider;
 }
 public ImpersonationController(IGetEntityByIdQuery getEntityByIdQuery)
 {
     this.getEntityByIdQuery = getEntityByIdQuery;
 }
示例#6
0
 public DeleteResponseByIdRequestHandler(IDeleteEntityCommand deleteEntityCommand, IGetEntityByIdQuery getEntityByIdQuery)
 {
     this.deleteEntityCommand = deleteEntityCommand;
     this.getEntityByIdQuery  = getEntityByIdQuery;
 }
 public CommentMapper(IGetEntityByIdQuery getEntityByIdQuery, 
     IGetCurrentUserQuery getCurrentUserQuery)
 {
     this.getEntityByIdQuery = getEntityByIdQuery;
     this.getCurrentUserQuery = getCurrentUserQuery;
 }
示例#8
0
 public AddSectionRequestHandler(IAddEntityCommand addEntityCommand, IGetEntityByIdQuery getEntityByIdQuery)
 {
     AddEntityCommand   = addEntityCommand;
     GetEntityByIdQuery = getEntityByIdQuery;
 }
 public TournamentController(IGetEntityByIdQuery<Tournament> getTournamentByIdQuery)
 {
     _getTournamentByIdQuery = getTournamentByIdQuery;
 }
 public ValidatorExtensions(IGetEntityByIdQuery getEntityByIdQuery)
 {
     GetEntityByIdQuery = getEntityByIdQuery;
 }
示例#11
0
 public GetUserByIdRequestHandler(IGetEntityByIdQuery getEntityByIdQuery, IMapper mapper)
 {
     GetEntityByIdQuery = getEntityByIdQuery;
     Mapper             = mapper;
 }