public static IJobPermissionService <JobPermission> GetJobPermission()
        {
            IJobPermissionService <JobPermission> serviceObj = null;

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

            default: serviceObj = new JobPermissionService(DatabaseFactory.CreateMongoDatabase());
                break;
            }
            return(serviceObj);
        }
 public static IJobPermissionService<JobPermission> GetJobPermission()
 {
     IJobPermissionService<JobPermission> serviceObj = null;
     switch (sectionHandler.ConnectionStringName)
     {
         case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new JobPermissionService(DatabaseFactory.CreateMongoDatabase());
             break;
         default: serviceObj = new JobPermissionService(DatabaseFactory.CreateMongoDatabase());
             break;
     }
     return serviceObj;
 }