public static IJobPrerequisiteService <JobPrerequisite> GetJobPrerequisite()
        {
            IJobPrerequisiteService <JobPrerequisite> serviceObj = null;

            switch (sectionHandler.ConnectionStringName)
            {
            case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new JobPrerequisiteService(DatabaseFactory.CreateMongoDatabase());
                break;

            default: serviceObj = new JobPrerequisiteService(DatabaseFactory.CreateMongoDatabase());
                break;
            }
            return(serviceObj);
        }
 public static IJobPrerequisiteService<JobPrerequisite> GetJobPrerequisite()
 {
     IJobPrerequisiteService<JobPrerequisite> serviceObj = null;
     switch (sectionHandler.ConnectionStringName)
     {
         case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new JobPrerequisiteService(DatabaseFactory.CreateMongoDatabase());
             break;
         default: serviceObj = new JobPrerequisiteService(DatabaseFactory.CreateMongoDatabase());
             break;
     }
     return serviceObj;
 }