Ejemplo n.º 1
0
        public bool PostSchool(SchoolDAO school)
        {
            SchoolServiceClient client = new SchoolServiceClient();

            try
            {
                bool result = client.CreateSchool(school);
                return result;
            }
            catch (FaultException<KaskServiceException> e)
            {
                throw new HttpException(e.Message);
            }
        }