Exemplo n.º 1
0
        public DashboardProvider(
            ISkillMasterRepository skillMasterRepo,
            IAssociateRepository associateRepo,
            IAssociateSkillMapRepository associateSkillMapRepo)
        {
            if (skillMasterRepo != null)
            {
                this._skillMasterRepo = skillMasterRepo;
            }
            else
            {
                this._skillMasterRepo = new SkillMasterRepository();
            }

            if (associateRepo != null)
            {
                this._associateRepo = associateRepo;
            }
            else
            {
                this._associateRepo = new AssociateRepository();
            }

            if (associateSkillMapRepo != null)
            {
                this._associateSkillMapRepo = associateSkillMapRepo;
            }
            else
            {
                this._associateSkillMapRepo = new AssociateSkillMapRepository();
            }
        }
Exemplo n.º 2
0
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     this._jsonVal = json;
     this._entryType = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository = associateRepository;
 }
Exemplo n.º 3
0
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     this._jsonVal              = json;
     this._entryType            = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository  = associateRepository;
 }
Exemplo n.º 4
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     _jsonVal = jsonVal;
     _individualRepository  = individualRepository;
     _associateRepository   = associateRepository;
     _entryType             = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal, entryType, individualRepository, associateRepository);
 }
Exemplo n.º 5
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal               = jsonVal;
     _entryType             = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository  = individualRepository;
     _associateRepository   = associateReposiory;
 }
Exemplo n.º 6
0
 public ScheduleActionHandler(string jsonVal,ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal = jsonVal;
     _entryType = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository = individualRepository;
     _associateRepository = associateReposiory;
 }
Exemplo n.º 7
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     _jsonVal = jsonVal;
     _individualRepository = individualRepository;
     _associateRepository = associateRepository;
     _entryType = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal,entryType, individualRepository, associateRepository);
 }
 public AssociateProvider(IAssociateRepository associateRepo)
 {
     if (associateRepo != null)
     {
         this._associateRepo = associateRepo;
     }
     else
     {
         this._associateRepo = new AssociateRepository();
     }
 }
Exemplo n.º 9
0
        public AssociateService(IAssociateRepository repository, IDataMapper mapper, IEmailService emailService, IAssociateReferenceRepository associateRefRepo, ISchedulerRepository schedulerRepo)
            : base(repository, mapper)
        {
            this.associateRepo      = repository;
            this.dataMapper         = mapper;
            this.emailService       = emailService;
            this.associateRefRepo   = associateRefRepo;
            this.schedulerRepo      = schedulerRepo;
            this.nonArchiveStatuses = new List <AssociateApprovalStatus>();

            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Accepted);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Approved);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.NotSet);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingAcceptance);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingApproval);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Registered);
        }
Exemplo n.º 10
0
 public ImportManager()
 {
     _associateRepository = new AssociateRepository();
 }
Exemplo n.º 11
0
 public AssociateApi(IAssociateRepository associateRepository, IClientRepository clientRepository, IAssociateService associateService)
 {
     AssociateRepository = associateRepository;
     ClientRepository    = clientRepository;
     AssociateService    = associateService;
 }
Exemplo n.º 12
0
 public AssociateStartedWorkingAtClientHandler(IAssociateRepository associateRepository)
 {
     AssociateRepository = associateRepository;
 }
Exemplo n.º 13
0
 protected AssociateService(IAssociateRepository repository, IDataMapper mapper)
 {
     this.associateRepo = repository;
     this.dataMapper    = mapper;
 }
Exemplo n.º 14
0
        public AssociatesController(
            ISkillMasterRepository skillRepo,
            ISkillMasterProvider skillProvider,
            IAssociateRepository associateRepo,
            IAssociateProvider associateProvider,
            IAssociateSkillMapRepository assocSkillMapRepo,
            IDashboardProvider dashboardProvider)
        {
            if (skillRepo != null)
            {
                this._skillRepository = skillRepo;
            }
            else
            {
                this._skillRepository = new SkillMasterRepository();
            }

            if (skillProvider != null)
            {
                this._skillProvider = skillProvider;
            }
            else
            {
                this._skillProvider = new SkillMasterProvider(this._skillRepository);
            }

            if (associateRepo != null)
            {
                this._associateRepository = associateRepo;
            }
            else
            {
                this._associateRepository = new AssociateRepository();
            }

            if (associateProvider != null)
            {
                this._associateProvider = associateProvider;
            }
            else
            {
                this._associateProvider = new AssociateProvider(this._associateRepository);
            }

            if (assocSkillMapRepo != null)
            {
                this._assocSkillMapRepo = assocSkillMapRepo;
            }
            else
            {
                this._assocSkillMapRepo = new AssociateSkillMapRepository();
            }

            if (dashboardProvider != null)
            {
                this._dashboardProvider = dashboardProvider;
            }
            else
            {
                this._dashboardProvider = new DashboardProvider(this._skillRepository, this._associateRepository, this._assocSkillMapRepo);
            }
        }
 //    public AssociateService(IAssociateRepository associatesRepository, IAssociateWorkRepository associateWorkRepository, IUnitOfWork unitOfWork)
 public AssociateService(IAssociateRepository associatesRepository, IUnitOfWork unitOfWork)
 {
     this.associatesRepository = associatesRepository;
     //    this.associateWorkRepository = associateWorkRepository;
     this.unitOfWork = unitOfWork;
 }
 public AssociatesApplicationService(IAssociateRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 //    public AssociateService(IAssociateRepository associatesRepository, IAssociateWorkRepository associateWorkRepository, IUnitOfWork unitOfWork)
 public AssociateService(IAssociateRepository associatesRepository, IUnitOfWork unitOfWork)
 {
     this.associatesRepository = associatesRepository;
 //    this.associateWorkRepository = associateWorkRepository;
     this.unitOfWork = unitOfWork;
 }
 public AssociateReturnedBackToClientHandler(IAssociateRepository associateRepository)
 {
     AssociateRepository = associateRepository;
 }
Exemplo n.º 19
0
 public AssociateService(IAssociateRepository repository)
 {
     _repository = repository;
 }