/// This method will populate the Education Tab of Resource Dossier.
        /// This method will return ResourceEducationLanguageResponse  which consist of ResourceEducation  
        ///  Details and Resource Language Proficiency detail.
        public ResourceEducationLanguageResponse GetResourceEducationLanguageResponseByResourceID(int resourceID)
        {
            ResourceEducationLanguageResponse relp = new ResourceEducationLanguageResponse();
            relp.ResourceEducations = lre;
            relp.ResourceLanguageProficiencies = new List<ResourceLanguageProficiency>();

            relp.ResourceLanguageProficiencies.Add(new ResourceLanguageProficiency() { Language = "English", IsPrimary = true });
            return relp;
        }
Exemple #2
0
        /// This method will populate the Education Tab of Resource Dossier.
        /// This method will return ResourceEducationLanguageResponse  which consist of ResourceEducation
        ///  Details and Resource Language Proficiency detail.
        public ResourceEducationLanguageResponse GetResourceEducationLanguageResponseByResourceID(int resourceID)
        {
            ResourceEducationLanguageResponse relp = new ResourceEducationLanguageResponse();

            relp.ResourceEducations            = lre;
            relp.ResourceLanguageProficiencies = new List <ResourceLanguageProficiency>();

            relp.ResourceLanguageProficiencies.Add(new ResourceLanguageProficiency()
            {
                Language = "English", IsPrimary = true
            });
            return(relp);
        }
Exemple #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            ResourceEducationService service = new ResourceEducationService();

            ResourceEducationLanguageResponse moo = service.GetResourceEducationLanguageResponseByResourceID(10);

            ResourceService se = new ResourceService();

            se.GetResourceDossierResponseByResourceID(1);
            se.GetResourcePersonalInformationResponseByResourceID(1);
            se.GetResourceProjectReviewResponseByResourceID(1);
            se.GetResourceRequisitionSubmissionResponseByResourceID(1);
            se.GetResourceResumeAttachmentResponseByResourceID(1);

            ResourcePersonalInformationResponse rsp = new ResourcePersonalInformationResponse();
        }