public IEnumerable<JobOpeningInterviewQuestionDAO> GetJobOpeningInterviewQuestions() { JobOpeningInterviewQuestionServiceClient client = new JobOpeningInterviewQuestionServiceClient(); try { IEnumerable<JobOpeningInterviewQuestionDAO> result = client.GetJobOpeningInterviewQuestions(); return result; } catch (FaultException<KaskServiceException> e) { throw new HttpException(e.Message); } }
public bool PostJobOpeningInterviewQuestion(JobOpeningInterviewQuestionDAO jobOpeningInterviewQuestion) { JobOpeningInterviewQuestionServiceClient client = new JobOpeningInterviewQuestionServiceClient(); try { bool result = client.CreateJobOpeningInterviewQuestion(jobOpeningInterviewQuestion); return result; } catch (FaultException<KaskServiceException> e) { throw new HttpException(e.Message); } }
public JobOpeningInterviewQuestionDAO GetJobOpeningInterviewQuestion(int id) { JobOpeningInterviewQuestionServiceClient client = new JobOpeningInterviewQuestionServiceClient(); try { JobOpeningInterviewQuestionDAO result = client.GetJobOpeningInterviewQuestionByID(id); return result; } catch (FaultException<KaskServiceException> e) { throw new HttpException(e.Message); } }