Exemple #1
0
 public ProfileController(UserManager <ApplicationUser> userManager,
                          IUserProfileService userProfileService,
                          IUserHelper userHelper,
                          ICandidateInfoService candidate,
                          IDepartementService department,
                          IDepartementSubService departmentSub,
                          IVacancyListService vacancy,
                          IServicePackService ssow,
                          ICityService city,
                          ISrfRequestService srf,
                          IMapper mapper,
                          FileHelper fileHelper,
                          ConfigHelper config)
 {
     _userManager        = userManager;
     _userProfileService = userProfileService;
     _userHelper         = userHelper;
     _mapper             = mapper;
     _fileHelper         = fileHelper;
     _config             = config;
     _cropSuffix         = _config.GetConfig("crop.suffix");
     _userDir            = _config.GetConfig("user.upload.directory");
     _candidate          = candidate;
     _department         = department;
     _departmentSub      = departmentSub;
     _vacancy            = vacancy;
     _ssow = ssow;
     _city = city;
     _srf  = srf;
 }
Exemple #2
0
 public VacancyController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IHostingEnvironment env,
     IMapper mapper,
     FileHelper fileHelper,
     ICostCenterService costCenter,
     IServicePackService servicePack,
     IServicePackCategoryService servicePackCategory,
     IVacancyListService service,
     UserManager <ApplicationUser> userManager,
     IDepartementService department,
     INetworkNumberService network,
     IDepartementSubService departmentSub,
     IMapAsgBastService mapAsgBast,
     IUserHelper userHelper) : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _env                 = env;
     _fileHelper          = fileHelper;
     _costCenter          = costCenter;
     _servicePack         = servicePack;
     _servicePackCategory = servicePackCategory;
     _department          = department;
     _departmentSub       = departmentSub;
     _userManager         = userManager;
     _userHelper          = userHelper;
     _network             = network;
     _mapAsgBast          = mapAsgBast;
 }
Exemple #3
0
 public SrfController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService service,
     IDepartementSubService department,
     ICostCenterService costCenter,
     INetworkNumberService networkNumber,
     IDepartementService departmentOp,
     ISrfEscalationRequestService escalation,
     ICandidateInfoService candidate,
     IHostingEnvironment env,
     IUserProfileService userProfile,
     UserManager <ApplicationUser> userManager,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _userHelper    = userHelper;
     _departmentSub = department;
     _costCenter    = costCenter;
     _networkNumber = networkNumber;
     _department    = departmentOp;
     _escalation    = escalation;
     _env           = env;
     _candidate     = candidate;
     _userManager   = userManager;
     _userProfile   = userProfile;
 }
Exemple #4
0
 public DashboardService(
     IRepository <SrfRequest> repository,
     IClaimService claim,
     IAttendaceExceptionListService timesheet,
     ISrfEscalationRequestService escalation,
     IAccountNameService account,
     ICandidateInfoService candidate,
     IDepartementService department,
     IDepartementSubService departmentSub,
     IVacancyListService vacancy,
     IBastService bast,
     Identity.IUserProfileService user
     ) : base(repository)
 {
     _claim          = claim;
     _timesheet      = timesheet;
     _escalation     = escalation;
     _vacancy        = vacancy;
     _account        = account;
     _candidate      = candidate;
     _department     = department;
     _departementSub = departmentSub;
     _user           = user;
     _bast           = bast;
 }
Exemple #5
0
 public NetworkNumberController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     INetworkNumberService service,
     IUserHelper userHelper,
     IDepartementService departement,
     IProjectsService projects,
     UserManager <ApplicationUser> userManager,
     IHostingEnvironment environment,
     ExcelHelper excel,
     ConfigHelper config,
     IUserProfileService userProfile,
     IAccountNameService accountName)
     : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.departement = departement;
     this.projects    = projects;
     this.userManager = userManager;
     this.accountName = accountName;
     _environment     = environment;
     _excel           = excel;
     _config          = config;
     _userHelper      = userHelper;
     _userProfile     = userProfile;
 }
Exemple #6
0
        public Form2()
        {
            _deptService = Conteneur.container.Resolve <IDepartementService>();

            /*  container = Conteneur.ContainerInit();
             * _deptService = container.Resolve<IDepartementService>();  */
            InitializeComponent();
        }
Exemple #7
0
 public EscalationController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService srf,
     ISrfEscalationRequestService service,
     IVacancyListService vacancy,
     ICandidateInfoService candidate,
     IDepartementService department,
     IHostingEnvironment env,
     IServicePackService ssow,
     IPackageTypeService packageType,
     ICostCenterService costCenter,
     MailingHelper mailingHelper,
     IOptions <HostConfiguration> hostConfiguration,
     NotifHelper notif,
     IDepartementSubService departmentSub,
     IServicePackCategoryService ssowCategory,
     IJobStageService jobsTage,
     IUserProfileService profileService,
     INetworkNumberService network,
     IAccountNameService account,
     UserManager <ApplicationUser> userManager,
     RoleManager <ApplicationRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     FileHelper fileHelper,
     ConfigHelper config,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _srf               = srf;
     _vacancy           = vacancy;
     _candidate         = candidate;
     _department        = department;
     _packageType       = packageType;
     _ssow              = ssow;
     _ssowCategory      = ssowCategory;
     _jobStage          = jobsTage;
     _departmentSub     = departmentSub;
     _profileService    = profileService;
     _network           = network;
     _account           = account;
     _env               = env;
     _notif             = notif;
     _hostConfiguration = hostConfiguration.Value;
     _mailingHelper     = mailingHelper;
     _userHelper        = userHelper;
     _costCenter        = costCenter;
     _userManager       = userManager;
     _roleManager       = roleManager;
     _fileHelper        = fileHelper;
     _config            = config;
 }
Exemple #8
0
 public RegistrationController(IHttpContextAccessor httpContextAccessor,
                               IUserService userService, IMapper mapper,
                               IAttendaceExceptionListService service,
                               IDepartementService department,
                               ICostCenterService cost,
                               IAccountNameService account,
                               INetworkNumberService network,
                               IProjectsService project,
                               IActivityCodeService code,
                               ISubOpsService subOp,
                               ICityService city,
                               IUserProfileService profile,
                               IActivityCodeService activity,
                               ITimeSheetTypeService timesheet,
                               IUserHelper userHelper,
                               ISrfRequestService srf,
                               ICandidateInfoService contractor,
                               IDepartementSubService departmentSub,
                               IUserProfileService profileUser,
                               IAttendanceRecordService attendanceRecord,
                               ICandidateInfoService candidate,
                               IVacancyListService vacancy,
                               IOptions <HostConfiguration> hostConfiguration,
                               NotifHelper notif) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _department        = department;
     _cost              = cost;
     _account           = account;
     _network           = network;
     _project           = project;
     _code              = code;
     _subOp             = subOp;
     _city              = city;
     _userHelper        = userHelper;
     _profile           = profile;
     _actiivity         = activity;
     _timesheet         = timesheet;
     _contractor        = contractor;
     _department        = department;
     _departmentSub     = departmentSub;
     _notif             = notif;
     _hostConfiguration = hostConfiguration.Value;
     _attendanceRecord  = attendanceRecord;
     _candidate         = candidate;
     _vacancy           = vacancy;
     _srf = srf;
 }
Exemple #9
0
 public CostCenterController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ICostCenterService service,
     IUserHelper userHelper,
     IHostingEnvironment environment,
     ExcelHelper excel,
     IDepartementService departement) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.departement = departement;
     _environment     = environment;
     _excel           = excel;
     _userHelper      = userHelper;
 }
Exemple #10
0
 public SrfRecoveryController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService service,
     IVacancyListService vacancy,
     ICandidateInfoService candidate,
     IDepartementService department,
     IServicePackService ssow,
     IServicePackCategoryService ssowCategory,
     IJobStageService jobStage,
     IDepartementSubService departmentSub,
     INetworkNumberService network,
     IAccountNameService account,
     ICostCenterService costCenter,
     ISrfEscalationRequestService escalation,
     IUserProfileService profileService,
     ISrfMigrationService migrate,
     IActivityCodeService activity,
     IPackageTypeService packageType,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _vacancy        = vacancy;
     _candidate      = candidate;
     _department     = department;
     _ssow           = ssow;
     _ssowCategory   = ssowCategory;
     _departmentSub  = departmentSub;
     _network        = network;
     _account        = account;
     _userHelper     = userHelper;
     _costCenter     = costCenter;
     _escalation     = escalation;
     _profileService = profileService;
     _migrate        = migrate;
     _packageType    = packageType;
     _jobStage       = jobStage;
     _activity       = activity;
 }
Exemple #11
0
 public MigrationSrf(IServiceProvider service, RoleManager <ApplicationRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _service       = service;
     _roleManager   = roleManager;
     _userManager   = userManager;
     _vacancy       = _service.GetService <IVacancyListService>();
     _account       = _service.GetService <IAccountNameService>();
     _userProfile   = _service.GetService <IUserProfileService>();
     _costCenter    = _service.GetService <ICostCenterService>();
     _department    = _service.GetService <IDepartementService>();
     _departmentSub = _service.GetService <IDepartementSubService>();
     _jobstage      = _service.GetService <IJobStageService>();
     _networkNumber = _service.GetService <INetworkNumberService>();
     _ssow          = _service.GetService <IServicePackService>();
     _ssow_category = _service.GetService <IServicePackCategoryService>();
     _city          = _service.GetService <ICityService>();
     _packageType   = _service.GetService <IPackageTypeService>();
     _candidate     = _service.GetService <ICandidateInfoService>();
     _activity      = _service.GetService <IActivityCodeService>();
     _srf           = _service.GetService <ISrfRequestService>();
     _escalation    = _service.GetService <ISrfEscalationRequestService>();
 }
 public TacticalResourceController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ITacticalResourceService service,
     IHostingEnvironment environment,
     IDepartementService dept,
     IDepartementSubService deptSub,
     ExcelHelper excel,
     ConfigHelper config,
     ISrfRequestService srf,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _environment = environment;
     _excel       = excel;
     _config      = config;
     _dept        = dept;
     _deptSub     = deptSub;
     _srf         = srf;
     _userHelper  = userHelper;
 }
Exemple #13
0
 public CandidateController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     IVacancyListService vacancy,
     ICandidateInfoService service,
     UserManager <ApplicationUser> userManager,
     RoleManager <ApplicationRole> roleManager,
     FileHelper fileHelper,
     ConfigHelper config,
     IUserProfileService user,
     IUserProfileService profile,
     ISrfRequestService srf,
     MailingHelper mailingHelper,
     IOptions <HostConfiguration> hostConfiguration,
     NotifHelper notif,
     INetworkNumberService network,
     IDepartementService department,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _vacancy           = vacancy;
     _user              = user;
     _userManager       = userManager;
     _roleManager       = roleManager;
     _fileHelper        = fileHelper;
     _config            = config;
     _userHelper        = userHelper;
     _profile           = profile;
     _userService       = userService;
     _notif             = notif;
     _hostConfiguration = hostConfiguration.Value;
     _mailingHelper     = mailingHelper;
     _service           = service;
     _srf        = srf;
     _department = department;
     _network    = network;
 }
Exemple #14
0
        public EditorForm(IStudentService std, IDepartementService dep)
        {
            this._deptService    = dep;
            this._studentService = std;
            InitializeComponent();


            /*  if (string.IsNullOrWhiteSpace(student.FirstName))
             * {
             *    Adding = true;
             *    this.Text = "Ajout";
             * }
             * else
             * {
             *    Adding = false;
             *    this.Text = "Modification";
             *
             *    txtNom.Text = student.FirstName;
             *    txtPrenom.Text = student.LastName;
             *    txtNumInsc.Text = student.EnrollmentNumber;
             *    txtMail.Text = student.Email;
             *
             * } */
        }
 public DepartementSubController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IUserProfileService userProfile,
     IMapper mapper,
     IDepartementSubService service,
     IUserHelper userHelper,
     IDepartementService departement,
     IHostingEnvironment environment,
     ITacticalResourceService trcp,
     UserManager <ApplicationUser> userManager,
     ConfigHelper config,
     ExcelHelper excel) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.departement = departement;
     this.userProfile = userProfile;
     _environment     = environment;
     _excel           = excel;
     _config          = config;
     _userHelper      = userHelper;
     _userManager     = userManager;
     _trcp            = trcp;
 }
Exemple #16
0
 public DepartementAppService(IDepartementService DepartementService)
     : base(DepartementService)
 {
     _DepartementService = DepartementService;
 }
Exemple #17
0
 //public FrmMain(IStudentService studentService,IDepartementService deptService)
 //{
 //    this._deptService = deptService;
 //    this._studentService = studentService;
 //    InitializeComponent();
 //}
 public FrmMain()
 {
     _studentService = ContainerExtension.container.Resolve <IStudentService>();
     _deptService    = ContainerExtension.container.Resolve <IDepartementService>();
     InitializeComponent();
 }
Exemple #18
0
 public DepartementsController(IDepartementService _iDepatementService)
 {
     iDepatementService = _iDepatementService;
 }
 public DepartementController(IDepartementService departementService)
 {
     _departementService = departementService;
 }
 public frmManageDepartment()
 {
     _deptService = ContainerExtension.container.Resolve <IDepartementService>();
     InitializeComponent();
 }
 public EmployeeDepartementController(IEmployeeService employeeService, IDepartementService departementService)
 {
     this.employeeService    = employeeService;
     this.departementService = departementService;
 }
Exemple #22
0
 public Form1()
 {
     dep = Conteneur.container.Resolve <IDepartementService>();
     std = Conteneur.container.Resolve <IStudentService>();
     InitializeComponent();
 }
 //public DepartementController()
 //{
 //    GetAllDepartements();
 //    GetColumNames();
 //}
 public DepartementController(IDepartementService idepartementservice)
 {
     _departementService = idepartementservice;
 }