public AddResponseRequestHandler(
     IAddEntityCommand addEntityCommand,
     IGetEntityByIdQuery getEntityByIdQuery,
     IGetAllEntitiesQuery getAllEntitiesQuery,
     IHttpContextAccessor httpContextAccessor)
 {
     AddEntityCommand    = addEntityCommand;
     GetEntityByIdQuery  = getEntityByIdQuery;
     GetAllEntitiesQuery = getAllEntitiesQuery;
     HttpContextAccessor = httpContextAccessor;
 }
Пример #2
0
 public GetAllQuestionnairesRequestHandler(IGetAllEntitiesQuery getAllEntitiesQuery, IMapper mapper)
 {
     GetAllEntitiesQuery = getAllEntitiesQuery;
     Mapper = mapper;
 }
 public GetAllUsersRequestHandler(IGetAllEntitiesQuery getAllEntitiesQuery, IMapper mapper)
 {
     GetAllEntitiesQuery = getAllEntitiesQuery;
     Mapper = mapper;
 }