Exemple #1
0
        public SurveyFacade(IDataEntryService dataEntryService,
                            ISurveyInfoService surveyInfoService,
                            IFormSettingsService formSettingsService,
                            ISecurityFacade securityFacade,

                            SurveyResponseBuilder surveyResponseBuilder,
                            IProjectMetadataProvider projectMetadataProvider,

                            Epi.Cloud.Common.Message.SurveyInfoRequest surveyInfoRequest,
                            Epi.Cloud.Common.Message.SurveyAnswerRequest surveyResponseRequest,
                            Epi.Cloud.Common.Message.UserAuthenticationRequest surveyAuthenticationRequest,

                            SurveyAnswerDTO surveyAnswerDTO,
                            FormInfoDTO formInfoDTO)
        {
            _dataEntryService        = dataEntryService;
            _surveyInfoService       = surveyInfoService;
            _formSettingsService     = formSettingsService;
            _securityFacade          = securityFacade;
            _surveyResponseBuilder   = surveyResponseBuilder;
            _projectMetadataProvider = projectMetadataProvider;

            _surveyInfoRequest   = surveyInfoRequest;
            _surveyAnswerRequest = surveyResponseRequest;
            _surveyAnswerDTO     = surveyAnswerDTO;
            _formInfoDTO         = formInfoDTO;
        }
 public AdminPanelController(BlogData blogData, IHostingEnvironment env, IBlogUnitOfWork blogUnitOfWork, ISecurityFacade securityFacade)
 {
     _blogData           = blogData;
     _hostingEnvironment = env;
     _securityFacade     = securityFacade;
     _blogUnitOfWork     = blogUnitOfWork;
 }
 /// <summary>
 /// injecting surveyFacade to the constructor
 /// </summary>
 /// <param name="surveyFacade"></param>
 public HomeController(ISurveyFacade surveyFacade,
                       ISecurityFacade securityFacade,
                       Epi.Cloud.Interfaces.MetadataInterfaces.IProjectMetadataProvider projectMetadataProvider,
                       ISurveyResponseDao surveyResponseDao) : base()
 {
     _surveyFacade            = surveyFacade;
     _securityFacade          = securityFacade;
     _projectMetadataProvider = projectMetadataProvider;
     _surveyResponseDao       = surveyResponseDao;
 }
 public TestFormResponseInfo(ISurveyFacade surveyFacade,
                             ISecurityFacade securityFacade,
                             Epi.Cloud.Interfaces.MetadataInterfaces.IProjectMetadataProvider projectMetadataProvider,
                             Epi.Cloud.CacheServices.IEpiCloudCache iCacheServices,
                             ISurveyResponseDao surveyResponseDao)
 {
     _surveyFacade            = surveyFacade;
     _securityFacade          = securityFacade;
     _projectMetadataProvider = projectMetadataProvider;
     _cacheServices           = iCacheServices;
     _surveyResponseDao       = surveyResponseDao;
 }
Exemple #5
0
 public WriterPanelController(IBlogUnitOfWork blogUnitOfWork, ISecurityFacade securityFacade)
 {
     _blogUnitOfWork = blogUnitOfWork;
     _securityFacade = securityFacade;
 }
 /// <summary>
 /// Inject ILogger, IsurveyFacade, ISecurityFacade
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="surveyFacade"></param>
 /// <param name="securityFacade"></param>
 public LoginController(ILogger logger, ISurveyFacade surveyFacade, ISecurityFacade securityFacade)
 {
     _logger         = logger;
     _surveyFacade   = surveyFacade;
     _securityFacade = securityFacade;
 }
 public UserManagerController(IAccountUnitOfWork accountUnitOfWork, ISecurityFacade securityFacade)
 {
     _accountUnitOfWork = accountUnitOfWork;
     _securityFacade    = securityFacade;
 }
 public AdminUserController(ISurveyFacade surveyFacade,
                            ISecurityFacade securityFacade)
 {
     _surveyFacade   = surveyFacade;
     _securityFacade = securityFacade;
 }
 public AdminOrganizationController(ISurveyFacade isurveyFacade,
                                    ISecurityFacade isecurityFacade)
 {
     _surveyFacade   = isurveyFacade;
     _securityFacade = isecurityFacade;
 }
 public AccountController(ISecurityFacade securityFacade)
 {
     _securityFacade = securityFacade;
 }