Ejemplo n.º 1
0
 public AbsenceBusinessLayer(IAbsenceRepository absRepository, IUserRepository usrRepository, UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     _userManager       = userManager;
     _roleManager       = roleManager;
     _absenceRepository = absRepository;
     _userRepository    = usrRepository;
 }
Ejemplo n.º 2
0
        public ImportUI()
        {
            incentiveRepository        = EntityContainer.GetType <IIncentiveRepository>();
            employeeRepository         = EntityContainer.GetType <IEmployeeRepository>();
            absenceRepository          = EntityContainer.GetType <IAbsenceRepository>();
            overTimeRepository         = EntityContainer.GetType <IOverTimeRepository>();
            branchRepository           = EntityContainer.GetType <IBranchRepository>();
            departmentRepository       = EntityContainer.GetType <IDepartmentRepository>();
            gradeRepository            = EntityContainer.GetType <IGradeRepository>();
            occupationRepository       = EntityContainer.GetType <IOccupationRepository>();
            principalRepository        = EntityContainer.GetType <IPrincipalRepository>();
            insuranceProgramRepository = EntityContainer.GetType <IInsuranceProgramRepository>();


            employeeDepartmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>();
            employeeGradeRepository      = EntityContainer.GetType <IEmployeeGradeRepository>();
            employeeOccupationRepository = EntityContainer.GetType <IEmployeeOccupationRepository>();
            employeePrincipalRepository  = EntityContainer.GetType <IEmployeePrincipalRepository>();
            employeeStatusRepository     = EntityContainer.GetType <IEmployeeStatusRepository>();
            employeeInsuranceRepository  = EntityContainer.GetType <IEmployeeInsuranceRepository>();
            employeeSalaryRepository     = EntityContainer.GetType <IEmployeeSalaryRepository>();


            InitializeComponent();
        }
Ejemplo n.º 3
0
 public HomeController(ICourseRepository courseRepo, IAbsenceRepository absenceRepo, IEducatorRepository educatorRepo, IEducationRepository educationRepo)
 {
     this.courseRepo    = courseRepo;
     this.absenceRepo   = absenceRepo;
     this.educatorRepo  = educatorRepo;
     this.educationRepo = educationRepo;
 }
Ejemplo n.º 4
0
 public ChartsController(IStudentRepository studentRepo, IAbsenceRepository absenceRepo, ICourseRepository courseRepo, IEducationRepository educationRepo)
 {
     this.studentRepo   = studentRepo;
     this.absenceRepo   = absenceRepo;
     this.courseRepo    = courseRepo;
     this.educationRepo = educationRepo;
 }
Ejemplo n.º 5
0
 public AbsenceUI()
 {
     InitializeComponent();
     absenceRepository            = EntityContainer.GetType <IAbsenceRepository>();
     userAccessRepository         = EntityContainer.GetType <IUserAccessRepository>();
     companyRepository            = EntityContainer.GetType <ICompanyRepository>();
     employeeDepartmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>();
 }
 public CallListService(IStudentRepository studentRepository,
                        IAbsenceRepository absenceRepository,
                        ILogger <CallListService> logger)
 {
     _studentRepository = studentRepository;
     _absenceRepository = absenceRepository;
     _logger            = logger;
 }
Ejemplo n.º 7
0
 public AbsenceController(IAbsenceRepository repository, IMapper mapper, LinkGenerator linkGenerator,
                          ILogger <AbsenceController> logger)
 {
     _repository    = repository;
     _mapper        = mapper;
     _linkGenerator = linkGenerator;
     _logger        = logger;
 }
Ejemplo n.º 8
0
 public MainUI()
 {
     InitializeComponent();
     companyRepository      = EntityContainer.GetType <ICompanyRepository>();
     absenceRepository      = EntityContainer.GetType <IAbsenceRepository>();
     workCalendarRepository = EntityContainer.GetType <IWorkCalendarRepository>();
     payrollRepository      = EntityContainer.GetType <IPayrollRepository>();
     userAccessRepository   = EntityContainer.GetType <IUserAccessRepository>();
 }
Ejemplo n.º 9
0
 public AbsenceService(IAbsenceRepository absenceRepository,
                       ISchoolClassRepository schoolClassRepository,
                       IStudentRepository studentRepository,
                       ILogger <AbsenceService> logger)
 {
     _absenceRepository     = absenceRepository;
     _schoolClassRepository = schoolClassRepository;
     _studentRepository     = studentRepository;
     _logger = logger;
 }
Ejemplo n.º 10
0
 public DoctorsController(
     IAppointmentsRepository appointmentsRepository,
     IPatientsRepository patientsRepository,
     IAbsenceRepository absenceRepository,
     IDoctorsRepository doctorsRepository)
 {
     _appointmentsRepository = appointmentsRepository;
     _patientsRepository     = patientsRepository;
     _absenceRepository      = absenceRepository;
     _doctorsRepository      = doctorsRepository;
 }
Ejemplo n.º 11
0
 public PatientsController(
     UserManager <ApplicationUser> userManager,
     IPatientsRepository patientsRepository,
     IDoctorsRepository doctorsRepository,
     ISpecializationsRepository specializationsRepository,
     IAppointmentsRepository appointmentsRepository,
     IAbsenceRepository absenceRepository)
 {
     _userManager               = userManager;
     _patientsRepository        = patientsRepository;
     _doctorsRepository         = doctorsRepository;
     _specializationsRepository = specializationsRepository;
     _appointmentsRepository    = appointmentsRepository;
     _absenceRepository         = absenceRepository;
 }
 public AbsenceService(IAbsenceRepository absenceRepository)
 {
     _absenceRepository = absenceRepository;
 }
Ejemplo n.º 13
0
 public AbsenceService(IAbsenceRepository absenceRepository, IUnitOfWork unitOfWork)
 {
     _absenceRepository = absenceRepository;
     _unitOfWork        = unitOfWork;
 }
 public IAbsenceRepository GetAbsenceRepository(IContext context)
 {
     return(absenceRepository ?? (absenceRepository = new AbsenceRepository(context)));
 }
Ejemplo n.º 15
0
 public AbsenceController(IRefereeRepository refereeRepo, IAbsenceRepository absenceRepository)
 {
     this.refereeRepository = refereeRepo;
     this.absenceRepository = absenceRepository;
 }
Ejemplo n.º 16
0
 public StatisticsAbsenceController(IAbsenceRepository repository)
 {
     this.repository = repository;
 }
Ejemplo n.º 17
0
 public AbsenceService(IAbsenceRepository repo)
 {
     _repo = repo;
 }
Ejemplo n.º 18
0
 public AbsenceService()
 {
     _repo = new AbsenceRepository();
 }
 public AbsencesController(IAbsenceRepository absenceRepository, IEmployeeRepository employeeRepository, IMapper mapper)
 {
     this._absenceRepository  = absenceRepository;
     this._employeeRepository = employeeRepository;
     this._mapper             = mapper;
 }
Ejemplo n.º 20
0
 public AbsenceController(IAbsenceRepository absenceRepository, IEmployeeRepository employeeRepository)
 {
     _absenceRepository  = absenceRepository;
     _employeeRepository = employeeRepository;
 }
Ejemplo n.º 21
0
 public AbsenceController(IAbsenceRepository repository)
 {
     this.repository = repository;
 }
 public AbsenceDataService()
 {
     this._absenceRepository   = (IAbsenceRepository)Mvx.get_IoCProvider().Resolve <IAbsenceRepository>();
     this._settingsDataService = (ISettingsDataService)Mvx.get_IoCProvider().Resolve <ISettingsDataService>();
 }