Example #1
0
        public string GetSessionLog(Guid id)
        {
            Session result = dbContext.Sessions.SingleOrDefault(m => m.Id == id);

            return(result.Log);
        }
Example #2
0
        public ApiModel.Session GetSession(Guid id)
        {
            Session result = dbContext.Sessions.SingleOrDefault(m => m.Id == id);

            return(new ApiModel.Session(result));
        }