P0_TrevorGraham/StoreApplication/StoreMain/Logic/StoreSession.cs
/// <summary>
/// Returns a list containing all of the store names in the db
/// </summary>
/// <returns></returns>
Returns a list containing all of the store names in the db
Returns a list containing all of the store names in the db
public List<string> GetAllStoreNames(){
            List<string> storeNames = new List<string>();
            foreach(Location store in db.Locations){
                storeNames.Add(store.Name);
            }
            return storeNames;
        }
public List < string > GetAllStoreNames ( ) { List < string > storeNames = new List < string > ( ) ; foreach ( Location store in db . Locations ) { storeNames . Add ( store . Name ) ; } return storeNames ; }
Returns a list containing all of the store names in the db
Returns a list containing all of the store names in the db
None