/// <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;
 }
Пример #3
0
 public SecurityDataService(ISurveyInfoDao surveyInfoDao,
                            ISurveyResponseDao surveyResponseDao,
                            IFormInfoDao formInfoDao,
                            IFormSettingFacade formSettingFacade,
                            IUserDao userDao,
                            IOrganizationDao organizationDao)
 {
     _surveyInfoDao     = surveyInfoDao;
     _surveyResponseDao = surveyResponseDao;
     _formInfoDao       = formInfoDao;
     _formSettingFacade = formSettingFacade;
     _userDao           = userDao;
     _organizationDao   = organizationDao;
 }
Пример #4
0
 public DataEntryService(
     ISurveyInfoService surveyInfoService,
     ISecurityDataService securityDataService,
     IFormInfoDao formInfoDao,
     ISurveyInfoDao surveyInfoDao,
     SurveyResponseProvider surveyResponseProvider,
     ISurveyResponseDao surveyResponseDao)
 {
     _surveyInfoService      = surveyInfoService;
     _securityDataService    = securityDataService;
     _formInfoDao            = formInfoDao;
     _surveyInfoDao          = surveyInfoDao;
     _surveyResponseDao      = surveyResponseDao;
     _surveyResponseProvider = surveyResponseProvider;
 }
Пример #5
0
 public SurveyDashboardInfo(Epi.Web.Interfaces.DataInterfaces.ISurveyResponseDao pSurveyResponseDao, ISurveyInfoDao pSurveyInfoDao)
 {
     this.SurveyResponseDao = pSurveyResponseDao;
     this.SurveyInfoDao     = pSurveyInfoDao;
 }
 public SurveyResponseProvider(ISurveyResponseDao surveyResponseDao)
 {
     _surveyResponseDao = surveyResponseDao;
 }
 public SurveyResponse(ISurveyResponseDao pSurveyResponseDao, ISurveyInfoDao pSurveyInfoDao = null)
 {
     this.SurveyResponseDao = pSurveyResponseDao;
     this.SurveyInfoDao     = pSurveyInfoDao;
 }