Example #1
0
        public JobDAO GetJob(int id)
        {
            JobServiceClient client = new JobServiceClient();

            try
            {
                JobDAO result = client.GetJobByID(id);
                return result;
            }
            catch (FaultException<KaskServiceException> e)
            {
                throw new HttpException(e.Message);
            }
        }