Exemplo n.º 1
0
        public EducationDAO GetEducation(int id)
        {
            EducationServiceClient client = new EducationServiceClient();

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