コード例 #1
0
 public FieldDependantService(IUnitOfWork unitOfWork, IMapper mapper, ISurvayService survayService, ISurvayTypeService survayTypeService)
 {
     UnitOfWork         = unitOfWork;
     _log               = LogManager.GetLogger(typeof(SurvayService));
     _mapper            = mapper;
     _SurvayService     = survayService;
     _survayTypeService = survayTypeService;
 }
コード例 #2
0
 public SurvayController(ISurvayService survayService, IMapper mapper, IFieldDependantService fieldService
                         , ISurvayTypeService survayType, IUserSurvayService userSurvayService, IAnswerSurvayService survayAnswer)
 {
     _mapper                = mapper;
     _survayService         = survayService;
     _fieldDependantService = fieldService;
     _survayTypeService     = survayType;
     _userSurvayService     = userSurvayService;
     _survayAnswer          = survayAnswer;
     _roleManager           = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>());
     _log = LogManager.GetLogger(typeof(SurvayController));
 }
コード例 #3
0
 public SurvayController(ISurvayService survayService, IMapper mapper, ISurvayTypeService survayTypeService,
                         IAnswerSurvayService answerSurvayService, IClientService clientService, IUserSurvayService userSurvay, IDeviceManagerService deviceManager)
 {
     _survayService       = survayService;
     _mapper              = mapper;
     _userSurvayService   = userSurvay;
     _survayTypeService   = survayTypeService;
     _answerSurvayService = answerSurvayService;
     _clientService       = clientService;
     _deviceManager       = deviceManager;
     _log = LogManager.GetLogger(typeof(SurvayController));
 }
コード例 #4
0
 public SurvaySettingController(ISurvaySettingService survaySettingService, IMapper mapper 
     ,IDistricService districService , IProvinceService provinceService 
     , ISurvayService survayService, ISurvaySupervisorService survaySupervisorService)
 {
     _mapper = mapper;
     _provinceService = provinceService;
     _districService = districService;
     _survayService = survayService;
     _survaySupervisorService = survaySupervisorService;
     _survaySettingService = survaySettingService;
     _log = LogManager.GetLogger(typeof(SurvaySettingController));
     _roleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>());
 }