Esempio n. 1
0
        /// <summary>
        /// Function to create a new training course of jobseeker
        /// </summary>
        /// <param name="entity">TrainingCourseObject</param>
        public void Create(SkillSmart.Dto.TrainingCourse entity)
        {
            TrainingCourse seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.TrainingCourse, SkillSmartMongoDA.Entities.TrainingCourse>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        ///  Function to get all extra curricular activity
        /// </summary>
        /// <param name="entity">ExtraCurricularActivity Object</param>
        public void Create(SkillSmart.Dto.ExtraCurricularActivity entity)
        {
            ExtraCurricularActivity seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.ExtraCurricularActivity, SkillSmartMongoDA.Entities.ExtraCurricularActivity>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to create a new language for jobseeker
        /// </summary>
        /// <param name="entity">languagae object</param>
        public void Create(SkillSmart.Dto.Language entity)
        {
            Language seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Language, SkillSmartMongoDA.Entities.Language>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to create a scholoaship
        /// </summary>
        /// <param name="entity">Scholarship Object</param>
        public void Create(SkillSmart.Dto.Scholarship entity)
        {
            Scholarship seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Scholarship, SkillSmartMongoDA.Entities.Scholarship>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to Create new work history details for the jobseeker
        /// </summary>
        /// <param name="entity">WorkHistory Object</param>
        public void Create(SkillSmart.Dto.SavedJobSearch entity)
        {
            SavedJobSearch seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.SavedJobSearch, SkillSmartMongoDA.Entities.SavedJobSearch>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to Create new work history details for the jobseeker
        /// </summary>
        /// <param name="entity">WorkHistory Object</param>
        public void Create(SkillSmart.Dto.WorkHistory entity)
        {
            WorkHistory seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.WorkHistory, SkillSmartMongoDA.Entities.WorkHistory>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to createjobseekers additional information
        /// </summary>
        /// <param name="entity">Additional information object</param>
        public void Create(SkillSmart.Dto.Company entity)
        {
            Company seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Company, SkillSmartMongoDA.Entities.Company>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
Esempio n. 8
0
        /// <summary>
        /// Function to create jobseeker overview
        /// </summary>
        /// <param name="entity">jobseeker overview object</param>
        public void Create(SkillSmart.Dto.Overview entity)
        {
            Overview seekerOverview = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Overview, SkillSmartMongoDA.Entities.Overview>(entity);

            base.Create(seekerOverview);
            entity.Id = seekerOverview.Id;
        }
Esempio n. 9
0
        public void Create(SkillSmart.Dto.Education entity)
        {
            Education seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Education, SkillSmartMongoDA.Entities.Education>(entity);

            base.Create(seeker);
            entity.Id = seeker.Id;
        }
        /// <summary>
        /// Function to delete a jobseeker details
        /// </summary>
        /// <param name="entity"></param>
        public void Delete(SkillSmart.Dto.Employer entity)
        {
            Employer employer = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Employer, SkillSmartMongoDA.Entities.Employer>(entity);

            base.Delete(employer);
        }
Esempio n. 11
0
 /// <summary>
 /// Function to create a jobseeker
 /// </summary>
 /// <param name="entity">jobseeker object</param>
 public void Create(SkillSmart.Dto.JobSeekerAppliedJobs entity)
 {
     SkillSmartMongoDA.Entities.JobSeekerAppliedJobs seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.JobSeekerAppliedJobs, SkillSmartMongoDA.Entities.JobSeekerAppliedJobs>(entity);
     base.Create(seeker);
     entity.Id = seeker.Id;
 }
Esempio n. 12
0
        /// <summary>
        /// Function to Update a Category
        /// </summary>
        /// <param name="entity">Category object</param>
        public void Update(SkillSmart.Dto.Category entity)
        {
            Category seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Category, SkillSmartMongoDA.Entities.Category>(entity);

            base.Update(seeker);
        }
Esempio n. 13
0
 public void Update(SkillSmart.Dto.JobsList entity)
 {
     JobsList seeker = MapperUtilities.MapToDomainModel<SkillSmart.Dto.JobsList, SkillSmartMongoDA.Entities.JobsList>(entity);
     base.Update(seeker);
 }
Esempio n. 14
0
        /// <summary>
        /// Function to update jobseeker
        /// </summary>
        /// <param name="entity">jobseeker overview object</param>
        public void Update(SkillSmart.Dto.Overview entity)
        {
            Overview seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Overview, SkillSmartMongoDA.Entities.Overview>(entity);

            base.Update(seeker);
        }
        /// <summary>
        /// Function to Delete WorkHistory details
        /// </summary>
        /// <param name="entity">WorkHistory Object</param>
        public void Delete(SkillSmart.Dto.SkillSupportingMaterial entity)
        {
            SkillSupportingMaterial seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.SkillSupportingMaterial, SkillSmartMongoDA.Entities.SkillSupportingMaterial>(entity);

            base.Delete(seeker);
        }
Esempio n. 16
0
        public void Create(SkillSmart.Dto.SkillMap entity)
        {
            SkillMap seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.SkillMap, SkillSmartMongoDA.Entities.SkillMap>(entity);

            base.Create(seeker);
        }
Esempio n. 17
0
        public void Delete(SkillSmart.Dto.JobPrerequisite entity)
        {
            JobPrerequisite seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.JobPrerequisite, SkillSmartMongoDA.Entities.JobPrerequisite>(entity);

            base.Delete(seeker);
        }
        /// <summary>
        /// Function to delete a language of jobseeker
        /// </summary>
        /// <param name="entity">language object</param>
        public void Delete(SkillSmart.Dto.Language entity)
        {
            Language seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Language, SkillSmartMongoDA.Entities.Language>(entity);

            base.Delete(seeker);
        }
Esempio n. 19
0
 /// <summary>
 /// Function to create a jobseeker
 /// </summary>
 /// <param name="entity">jobseeker object</param>
 public void Create(SkillSmart.Dto.JobsList entity)
 {
     SkillSmartMongoDA.Entities.JobsList seeker = MapperUtilities.MapToDomainModel<SkillSmart.Dto.JobsList, SkillSmartMongoDA.Entities.JobsList>(entity);
     base.Create(seeker);
     entity.Id = seeker.Id;
 }
 /// <summary>
 /// Function to create a jobseeker
 /// </summary>
 /// <param name="entity">jobseeker object</param>
 public void Create(SkillSmart.Dto.RelatedExperience entity)
 {
     SkillSmartMongoDA.Entities.RelatedExperience seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.RelatedExperience, SkillSmartMongoDA.Entities.RelatedExperience>(entity);
     base.Create(seeker);
     entity.Id = seeker.Id;
 }
        public void Delete(SkillSmart.Dto.JobSkills entity)
        {
            JobSkills seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.JobSkills, SkillSmartMongoDA.Entities.JobSkills>(entity);

            base.Delete(seeker);
        }
        /// <summary>
        /// Function to Delete WorkHistory details
        /// </summary>
        /// <param name="entity">WorkHistory Object</param>
        public void Delete(SkillSmart.Dto.RelatedExperience entity)
        {
            RelatedExperience seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.RelatedExperience, SkillSmartMongoDA.Entities.RelatedExperience>(entity);

            base.Delete(seeker);
        }
        /// <summary>
        /// Function to Delete WorkHistory details
        /// </summary>
        /// <param name="entity">WorkHistory Object</param>
        public void Delete(SkillSmart.Dto.WorkHistory entity)
        {
            WorkHistory seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.WorkHistory, SkillSmartMongoDA.Entities.WorkHistory>(entity);

            base.Delete(seeker);
        }
        /// <summary>
        /// Function to Update skill alias details
        /// </summary>
        /// <param name="entity">Skill Alias Object</param>
        public void Update(SkillSmart.Dto.SkillAlias entity)
        {
            SkillAlias seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.SkillAlias, SkillSmartMongoDA.Entities.SkillAlias>(entity);

            base.Update(seeker);
        }
        /// <summary>
        /// Function To update Certification details of the jobseeker
        /// </summary>
        /// <param name="entity">CertificationObject</param>
        public void Update(SkillSmart.Dto.Certification entity)
        {
            Certification seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Certification, SkillSmartMongoDA.Entities.Certification>(entity);

            base.Update(seeker);
        }
Esempio n. 26
0
        /// <summary>
        /// Function to create a collection for lookup
        /// </summary>
        /// <param name="entity">lookup object</param>
        public void Create(SkillSmart.Dto.LookupDto entity)
        {
            LookupEntity seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.LookupDto, SkillSmartMongoDA.Entities.LookupEntity>(entity);

            base.Create(seeker);
        }
        /// <summary>
        /// Function to create a collection for lookup
        /// </summary>
        /// <param name="entity">lookup object</param>
        public void Create(SkillSmart.Dto.LookupByCriteria entity)
        {
            LookupByCriteria seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.LookupByCriteria, SkillSmartMongoDA.Entities.LookupByCriteria>(entity);

            base.Create(seeker);
        }
        /// <summary>
        /// Function to delete speciality course
        /// </summary>
        /// <param name="entity">speciality course Object</param>
        public void Delete(SkillSmart.Dto.SpecialityCourse entity)
        {
            SpecialityCourse seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.SpecialityCourse, SkillSmartMongoDA.Entities.SpecialityCourse>(entity);

            base.Delete(seeker);
        }
Esempio n. 29
0
        public void Delete(SkillSmart.Dto.Education entity)
        {
            Education seeker = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Education, SkillSmartMongoDA.Entities.Education>(entity);

            base.Delete(seeker);
        }
 /// <summary>
 /// Function to create a jobseeker
 /// </summary>
 /// <param name="entity">jobseeker object</param>
 public void Create(SkillSmart.Dto.Employer entity)
 {
     SkillSmartMongoDA.Entities.Employer employer = MapperUtilities.MapToDomainModel <SkillSmart.Dto.Employer, SkillSmartMongoDA.Entities.Employer>(entity);
     base.Create(employer);
     entity.Id = employer.Id;
 }