P1_TrevorGraham/MvcStoreApplication/BusinessLogic/BusinessLogic.cs
/// <summary>
/// Saves the given guid as the current location in the session; returns true if successful
/// </summary>
/// <param name="locId"></param>
/// <returns></returns>
Saves the given guid as the current location in the session; returns true if successful
Saves the given guid as the current location in the session ; returns true if successful
private bool SessionAssignCurrentLocation(Guid locId)
        {
            var id = JsonConvert.SerializeObject(locId);
            _session.SetString(currentLocationKey, id);
            if (SessionGetCurrentLocation() != null)
                return true;
            return false;
        }
private bool SessionAssignCurrentLocation ( Guid locId ) { var id = JsonConvert . SerializeObject ( locId ) ; _session . SetString ( currentLocationKey , id ) ; if ( SessionGetCurrentLocation ( ) != null ) return true ; return false ; }
Saves the given guid as the current location in the session; returns true if successful
Saves the given guid as the current location in the session ; returns true if successful
None
locId
Guid
None