예제 #1
0
        public SchoolDAO GetSchool(int id)
        {
            SchoolServiceClient client = new SchoolServiceClient();

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