public static IJobSeekerSkillListService <JobSeekerSkillList> GetJobSeekerSkillList() { IJobSeekerSkillListService <SkillSmart.Dto.JobSeekerSkillList> serviceObj = null; switch (sectionHandler.ConnectionStringName) { case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new JobSeekerSkillListService(DatabaseFactory.CreateMongoDatabase()); break; default: serviceObj = new JobSeekerSkillListService(DatabaseFactory.CreateMongoDatabase()); break; } return(serviceObj); }
public static IJobSeekerSkillListService<JobSeekerSkillList> GetJobSeekerSkillList() { IJobSeekerSkillListService<SkillSmart.Dto.JobSeekerSkillList> serviceObj = null; switch (sectionHandler.ConnectionStringName) { case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new JobSeekerSkillListService(DatabaseFactory.CreateMongoDatabase()); break; default: serviceObj = new JobSeekerSkillListService(DatabaseFactory.CreateMongoDatabase()); break; } return serviceObj; }