/// <summary> /// Repository for Value In Transit Report /// </summary> /// <returns></returns> public List <ValueInTransit> GetValueInTransit() { List <ValueInTransit> valueList = null; valueList = ViewDataAccess.GetValueInTransit(_connectionString); return(valueList); }
/// <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); }