Example #1
0
 public EducationCredentialImpl(IEducationCredentialRepository educationCredentialRepository, IAccreditorRepository accreditorRepository)
 {
     _educationCredentialRepository = educationCredentialRepository;
     _accreditorRepository          = accreditorRepository;
 }
 public void EducationFormatInitialize()
 {
     _educationCredentialRepository = new EducationCredentialRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _accreditorRepository          = new AccreditorRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationCredentialBL         = new EducationCredentialImpl(_educationCredentialRepository, _accreditorRepository);
 }
Example #3
0
 public AccreditorService(IMapper mapper, IAccreditorRepository repo)
 {
     _mapper = mapper;
     _repo   = repo;
 }