Esempio n. 1
0
        /// <summary>
        /// Repository for Value In Transit Report
        /// </summary>
        /// <returns></returns>
        public List <ValueInTransit> GetValueInTransit()
        {
            List <ValueInTransit> valueList = null;

            valueList = ViewDataAccess.GetValueInTransit(_connectionString);

            return(valueList);
        }
Esempio n. 2
0
        /// <summary>
        /// Repository for Value In Transit Report
        /// </summary>
        /// <returns></returns>
        public List <ValueInTransit> GetValueInTransit()
        {
            List <ValueInTransit> valueList = null;

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

                valueList = ViewDataAccess.GetValueInTransit(connection);
            }
            return(valueList);
        }