Esempio n. 1
0
        /// <summary>
        /// Repository for Doctor Activity Report
        /// </summary>
        /// <returns></returns>
        public List <DoctorActivity> GetDoctorActivity()
        {
            List <DoctorActivity> doctors = null;

            doctors = ViewDataAccess.GetDoctorActivity(_connectionString);

            return(doctors);
        }
Esempio n. 2
0
        /// <summary>
        /// Repository for Doctor Activity Report
        /// </summary>
        /// <returns></returns>
        public List <DoctorActivity> GetDoctorActivity()
        {
            List <DoctorActivity> doctors = null;

            using (SqlConnection connection = new SqlConnection(_connectionString))
            {
                connection.Open();

                doctors = ViewDataAccess.GetDoctorActivity(connection);
            }
            return(doctors);
        }