Example #1
0
 // שליפת מודעות ללוח לפי תאריך וקוד
 public static List <PanelDTO> GetPanelAdByBoardAndDate(int boardid, System.DateTime date)
 {
     using (BoardDB3Entities db2 = new BoardDB3Entities())
     {
         panel = PanelDTO.ListToDTO(db2.PanelAds.Where(x => x.BoardId == boardid && x.PanelDate == date).ToList());
         return(panel);
     }
 }