예제 #1
0
 public List <USER_NOTIFICATION> GetNotifications(int jobId)
 {
     using (TAM_DBEntities dc = new TAM_DBEntities())
     {
         //return dc.USER_NOTIFICATION.Where(x => x.AddedOn > afterDate && x.ContactName == "A").OrderByDescending(x => x.AddedOn).ToList();
         return(dc.USER_NOTIFICATION.ToList());
     }
 }
예제 #2
0
 public BaseController()
 {
     db = new TAM_DBEntities();
 }