Exemplo n.º 1
0
 public List <Supporter> GetSupporters()
 {
     using (var client = new RemeeSupportClient())
     {
         return(client.GetSupporters().ToList());
     }
 }
Exemplo n.º 2
0
        public List <Comment> GetComments(int caseId)
        {
            if (caseId <= 0)
            {
                throw new ArgumentException("Case ID could not be found");
            }
            //client = new RemeeSupportClient();

            using (var client = new RemeeSupportClient())
            {
                return(client.GetComments(caseId).ToList());
            }
        }