Example #1
0
        public AccountController(IRepositoryUser userRepo, IRepositoryEmployee emplRepo, IRepositoryQueue queueRepo, IQueueHub hub)
        {
            _userRepository     = userRepo;
            _employeeRepository = emplRepo;

            _queueRepository = queueRepo;
            _hub             = hub;
        }
        public static IRepositoryEmployee getInstanceEmployee()
        {
            if (repositoryEmployee == null)
            {
                repositoryEmployee = new RepositoryMSSQLRF();
                //repository = new RepositoryMSSQLCoreEF();
            }

            return(repositoryEmployee);
        }
Example #3
0
 public EmployeeQuery(IRepositoryEmployee EREP)
 {
     _EREP = EREP;
 }
Example #4
0
 public OperationEmployee()
 {
     _repositoryEmployee = new RepositoryEmployee();
 }
 public ServiceEmployee(IRepositoryEmployee repositoryEmployee) : base(repositoryEmployee)
 {
     _repositoryEmployee = repositoryEmployee;
 }
 public BusinessTeacher(IRepositoryBase <Employee> repositoryBase, IUnitOfWork uow, IRepositoryEmployee repositoryTeacher) : base(repositoryBase, uow)
 {
     _repositoryTeacher = repositoryTeacher;
 }
Example #7
0
 public EmployeeController(IRepositoryEmployee <Employee> repository)
 {
     _repository = repository;
 }
Example #8
0
 public EmployeeCommandHandler(IRepositoryEmployee EREP, IRepositoryVehicle VREP)
 {
     _EREP = EREP;
     _VREP = VREP;
 }
Example #9
0
 public EmployeeController(IRepositoryEmployee repo)
 {
     _employeeRepository = repo;
 }