/// <summary>
        /// To delete a particular work history details of the jobseeker
        /// </summary>
        /// <param name="id">WorkHistoryId</param>
        public void Delete(string id)
        {
            IJobPrerequisiteService <JobPrerequisite> JobPrerequisiteService = ServiceFactory.GetJobPrerequisite();
            var JobPrerequisite = JobPrerequisiteService.GetById(id);

            JobPrerequisiteService.Delete(JobPrerequisite);
        }
        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);
        }