Example #1
0
        public List <LogInService> SearchShareLogUnRead(int Id)
        {
            List <LogInService> l = new List <LogInService>();

            List <LogMessage> lm = lop.SendSharedLogUnRead(Id);

            foreach (LogMessage lo in lm)
            {
                LogInService ll = new LogInService();
                ll.LogId       = (long)lo.LogId;
                ll.ShareUserId = (long)lo.ShareUserId;
                ll.TimeStamp   = (long)lo.TimeStamp;
                ll.WriteUserId = (long)lo.UserId;
                l.Add(ll);
            }

            return(l);
        }
Example #2
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return true;
 }
Example #3
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return(true);
 }
Example #4
0
        public List<LogInService> SearchShareLogUnRead(int Id)
        {
            List<LogInService> l = new List<LogInService>();

            List<LogMessage> lm = lop.SendSharedLogUnRead(Id);

            foreach (LogMessage lo in lm)
            {
                LogInService ll = new LogInService();
                ll.LogId = (long)lo.LogId;
                ll.ShareUserId = (long)lo.ShareUserId;
                ll.TimeStamp = (long)lo.TimeStamp;
                ll.WriteUserId = (long)lo.UserId;
                l.Add(ll);
            }

            return l;
        }