Esempio n. 1
0
 public List <EntityNotification> GetByUserID(int UserID)
 {
     return(FactoryNotification.GetList(base.DataContext.Message.Where(p => p.FK_UserID == UserID).OrderByDescending(p => p.CreateDate).ToList()));
 }
Esempio n. 2
0
 public List <EntityNotification> GetAll()
 {
     return(FactoryNotification.GetList(base.DataContext.Message.ToList()));
 }