Пример #1
0
        private void CountAllPatients()
        {
            var countTotalPatients = dbContext.GetTotalPatients();

            foreach (var countTotal in countTotalPatients)
            {
                count[0] = (int)countTotal;
            }
            lblTotalPatients.Text = count[0].ToString();
        }