Example #1
0
        private void btnGetAllApplication_Click(object sender, EventArgs e)
        {
            WebApiService was = new WebApiService();
            var apps = was.GetAllApplications();

            if (apps == null)
                MessageBox.Show("No record");
            else
                MessageBox.Show(apps.Count.ToString());
        }
Example #2
0
        private void btnGetAllApplication_Click(object sender, EventArgs e)
        {
            WebApiService was  = new WebApiService();
            var           apps = was.GetAllApplications();

            if (apps == null)
            {
                MessageBox.Show("No record");
            }
            else
            {
                MessageBox.Show(apps.Count.ToString());
            }
        }