Exemple #1
0
 public CoverageService(IAreaService areaService, IEmployeService employeService, ILeaveService leaveService, IInflexibilityPeriodsService inflexibilityPeriodsService)
 {
     _areaService    = areaService;
     _employeService = employeService;
     _leaveService   = leaveService;
     _inflexibilityPeriodsService = inflexibilityPeriodsService;
 }
 public DepartmentsController(UserManager <AppUser> userManager, IDepartmentService departmentService,
                              IEmployeService employeService)
 {
     this.userManager       = userManager;
     this.departmentService = departmentService;
     this.employeService    = employeService;
 }
 public EmployeController(IEmployeService employeService, IRoleService roleService, IUtilisateurService<Employe> utilisateurService, IImageService imageService)
 {
     EmployeService = employeService;
     RoleService = roleService;
     UtilisateurService = utilisateurService;
     ImageService = imageService;
 }
Exemple #4
0
 public TrainingsController(ITrainingService trainingService, UserManager <AppUser> userManager,
                            IDepartmentService departmentService, IEmployeService employeService)
 {
     this.trainingService   = trainingService;
     this.userManager       = userManager;
     this.departmentService = departmentService;
     this.employeService    = employeService;
 }
 public EmployeesController(UserManager <AppUser> userManager,
                            IEmployeService employeService, IDepartmentService departmentService,
                            ICityCountry cityCountryService)
 {
     this.userManager        = userManager;
     this.employeService     = employeService;
     this.departmentService  = departmentService;
     this.cityCountryService = cityCountryService;
 }
 public EmployeController(
     IEmployeService employeService,
     IAnimalService animalService,
     IPositionService positionService)
 {
     this.employeService  = employeService;
     this.animalService   = animalService;
     this.positionService = positionService;
 }
 public EvaluationsController(IEvaluationService evaluationService, IEmployeService employeeService,
                              IYearsForEval yearsForEval, UserManager <AppUser> userManager, IDepartmentService departmentService)
 {
     this.evaluationService = evaluationService;
     this.employeeService   = employeeService;
     this.yearsForEval      = yearsForEval;
     this.userManager       = userManager;
     this.departmentService = departmentService;
 }
 public PersonneService(IPersonneRepository personneRepository, IUnitOfWork unitOfWork, IApplicationTraceService applicationTraceService, IAdresseService adresseService, IEmployeService employeService, IUtilisateurService utilisateurService)
 {
     this._personneRepository      = personneRepository;
     this._applicationTraceService = applicationTraceService;
     this._adresseService          = adresseService;
     this._utilisateurService      = utilisateurService;
     this._employeService          = employeService;
     this._unitOfWork = unitOfWork;
 }
Exemple #9
0
 public TasksController(UserManager <AppUser> userManager, IDepartmentService departmentService,
                        IProjectService projectService, ITasksService tasksService,
                        IEmployeService employeService)
 {
     this.userManager       = userManager;
     this.departmentService = departmentService;
     this.projectService    = projectService;
     this.tasksService      = tasksService;
     this.employeService    = employeService;
 }
 public AuthController(UserManager <User> userManager
                       , SignInManager <User> signInManager,
                       IConfiguration configuration
                       , IEmployeService service)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _configuration = configuration;
     _service       = service;
 }
 public HomeController(UserManager <AppUser> userManager, IDepartmentService departmentService,
                       IProjectService projectService, ITrainingService trainingService,
                       IEmployeService employeService, ICompanyService companyService)
 {
     this.userManager       = userManager;
     this.departmentService = departmentService;
     this.projectService    = projectService;
     this.trainingService   = trainingService;
     this.employeService    = employeService;
     this.companyService    = companyService;
 }
Exemple #12
0
        public WCFTests()
        {
            var address = new Uri("http://localhost:4400/EmployeService.svc");

            var binding  = new BasicHttpBinding();
            var endpoint = new EndpointAddress(address);

            ChannelFactory <IEmployeService> factory = new ChannelFactory <IEmployeService>(binding, endpoint);

            channel = factory.CreateChannel();
        }
 public AnimalController(
     IAnimalService animalService,
     ICageService cageService,
     IKindService kindService,
     IEmployeService employeService)
 {
     this.animalService  = animalService;
     this.cageService    = cageService;
     this.kindService    = kindService;
     this.employeService = employeService;
 }
 public EmployeController(IEmployeService employeService, IServiceService serviceService, IPersonneService personneService, IAdresseService adresseService, IDroitService droitService, ITEmployeService temployeService, IAffectationServiceService affectationService, IUtilisateurService utilisateurService)
 {
     this._employeService     = employeService;
     this._serviceService     = serviceService;
     this._adresseService     = adresseService;
     this._personneService    = personneService;
     this._droitService       = droitService;
     this._temployeService    = temployeService;
     this._affectationService = affectationService;
     this._utilisateurService = utilisateurService;
     this._service            = "Ressources Humaines";
 }
Exemple #15
0
 public EmployeeController(IEmployeService employeService
                           , UserManager <User> userManager,
                           IUserService userService,
                           IMapper mapper,
                           IImageHandlerService <IActionResult> image)
 {
     _employeeService = employeService;
     _userManager     = userManager;
     _userService     = userService;
     _mapper          = mapper;
     _image           = image;
 }
Exemple #16
0
 public HomeController(UserManager <AppUser> userManager, IDepartmentService departmentService,
                       IProjectService projectService, IVacationsService vacationsService,
                       ITasksService tasksService, ITrainingService trainingService,
                       IEmployeService employeService)
 {
     this.userManager       = userManager;
     this.departmentService = departmentService;
     this.projectService    = projectService;
     this.vacationsService  = vacationsService;
     this.tasksService      = tasksService;
     this.trainingService   = trainingService;
     this.employeService    = employeService;
 }
Exemple #17
0
        public RapportView()
        {
            InitializeComponent();
            RetrieveArgs = new RetrieveEmployeArgs();
            _ServiceEmploye = ServiceFactory.Instance.GetService<IEmployeService>();
            _applicationService = ServiceFactory.Instance.GetService<IApplicationService>();

            Employe = new ObservableCollection<Employe>(_ServiceEmploye.RetrieveAll());
            _ServiceProjet = ServiceFactory.Instance.GetService<IProjetService>();
            Projet = new ObservableCollection<Projet>(_ServiceProjet.retrieveAll());
            _ServicePaie = ServiceFactory.Instance.GetService<IPaiesService>();
            Paie = new ObservableCollection<Paie>(_ServicePaie.RetrieveAll());
            DataContext = this;
        }
        public static IEmployeService GetChannel()
        {
            if (channel == null)
            {
                var address = new Uri("http://localhost:4400/EmployeService.svc");

                var binding  = new BasicHttpBinding();
                var endpoint = new EndpointAddress(address);

                ChannelFactory <IEmployeService> factory = new ChannelFactory <IEmployeService>(binding, endpoint);
                channel = factory.CreateChannel();
            }
            return(channel);
        }
 public EmployeController(IEmployeService employeService)
 {
     EmployeService = employeService;
 }
Exemple #20
0
 public EmployesController(IAreaService areaService, IEmployeService employeService)
 {
     _areaService    = areaService;
     _employeService = employeService;
 }
 public SpecialEmployeServiceWhichDoesVerySpecialThings(IEmployeService innerService)
 {
     _innerService = innerService;
 }
        public EmpController(IEmpRepository <Emp> empRepository, IEmployeService employeService)

        {
            _empRepository      = empRepository;
            this.employeService = employeService;
        }
 public EmployeController(IEmployeService serviceEmploye, IDataAccesService dataAccessService)
 {
     ServiceEmploye    = serviceEmploye;
     DataAccessService = dataAccessService;
 }
Exemple #24
0
 public MailService(IEmployeService employeService)
 {
     _employeService = employeService;
 }
Exemple #25
0
 public UtilisateurController(IEmployeService employeService, IUtilisateurService utilisateurService, IPersonneService personneService)
 {
     this._employeService     = employeService;
     this._utilisateurService = utilisateurService;
     this._personneService    = personneService;
 }
 public MaderaSoftController(IUtilisateurService utilisateurService, IEmployeService employeService, IApplicationTraceService traceService)
 {
     this._utilisateurService = utilisateurService;
     this._employeService     = employeService;
     this._traceService       = traceService;
 }
 public AccountController(IEmployeService employeService, IRoleService roleService, IUtilisateurService<Employe> utilisateurService)
 {
     EmployeService = employeService;
     RoleService = roleService;
     UtilisateurService = utilisateurService;
 }
Exemple #28
0
 public GestionDroitController(IDroitService droitService, IEmployeService employeService)
 {
     this._droitService   = droitService;
     this._employeService = employeService;
 }
Exemple #29
0
 public EmployeController(IEmployeService employeManager)
 {
     _employeManager = employeManager;
 }
 public DefaultPagePresenter(ITasksService tasksService, IEmployeService employeService)
 {
     _tasksService = tasksService;
     _employeService = employeService;
 }