Exemplo n.º 1
0
        public IEnumerable<ApplicationDAO> GetApplicationsByApplicant(string by_applicant, string id)
        {
            ApplicationServiceClient client = new ApplicationServiceClient();

            try
            {
                IEnumerable<ApplicationDAO> result = client.GetApplicationsByApplicant(Convert.ToInt32(id));
                return result;
            }
            catch (FaultException<KaskServiceException> e)
            {
                throw new HttpException(e.Message);
            }
        }