예제 #1
0
 public static Common.DTO.EventDto ToDtoEvent(DAL.Event e)
 {
     Common.DTO.EventDto ev = new Common.DTO.EventDto();
     ev.event_code = e.event_code;
     ev.invitation = e.invitation;
     return(ev);
 }
예제 #2
0
 public static DAL.Event ToDalEvent(Common.DTO.EventDto e)
 {
     DAL.Event ev = new DAL.Event();
     ev.event_code = e.event_code;
     ev.invitation = e.invitation;
     ///....
     return(ev);
 }