Ejemplo n.º 1
0
        public IEnumerable<SchoolDAO> GetSchools()
        {
            SchoolServiceClient client = new SchoolServiceClient();

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