public List <tbl_Notification> GetContacts(DateTime afterDate) { using (MyHandsDbContext dc = new MyHandsDbContext()) { return(dc.tbl_Notification.Where(a => a.dNgayTB > afterDate).OrderByDescending(a => a.dNgayTB).ToList()); } }
public BaiVietDAO() { db = new MyHandsDbContext(); }
public LienHeDAO() { db = new MyHandsDbContext(); }
public SanPhamDAO() { db = new MyHandsDbContext(); }
public UserDao() { db = new MyHandsDbContext(); }
public MenuDAO() { db = new MyHandsDbContext(); }
public FooterDAO() { db = new MyHandsDbContext(); }
public DanhMucSPDAO() { db = new MyHandsDbContext(); }
public TrangThaiHoaDonDAO() { db = new MyHandsDbContext(); }
public NhaCungCapDAO() { db = new MyHandsDbContext(); }
public HinhAnhSPDAO() { db = new MyHandsDbContext(); }
public SanPhamCommentDAO() { db = new MyHandsDbContext(); }
public HoaDonNhapDAO() { db = new MyHandsDbContext(); }
public ChiTietPhieuYCDAO() { db = new MyHandsDbContext(); }
public PhieuYeuCauDAO() { db = new MyHandsDbContext(); }
public NotificationDAO() { db = new MyHandsDbContext(); }
public ChiTietHoaDonDAO() { db = new MyHandsDbContext(); }
public CustomDAO() { db = new MyHandsDbContext(); }