Chaos.Portal.Core.Data.PortalRepository.SessionGet C# (CSharp) Method

SessionGet() public method

public SessionGet ( System.Guid guid, System.Guid userGuid ) : IEnumerable
guid System.Guid
userGuid System.Guid
return IEnumerable
        public IEnumerable<Session> SessionGet(Guid? guid, Guid? userGuid)
        {
            return Gateway.ExecuteQuery<Session>("Session_Get", new[]
                {
                    new MySqlParameter("Guid", guid.HasValue ? guid.Value.ToByteArray() : null),
                    new MySqlParameter("UserGuid", userGuid.HasValue ? userGuid.Value.ToByteArray() : null)
                });
        }