public void CreateTicketDetail(TicketDetailPivot TicketDetail)
        {
            GES_TicketDetail item = Mapper.Map <TicketDetailPivot, GES_TicketDetail>(TicketDetail);

            ticketDetailRepository.Add(item);
        }
コード例 #2
0
 public void UpdateTicketDetail(TicketDetailPivot TicketDetail)
 {
     ticketDetailRepository.Update(Mapper.Map <TicketDetailPivot, GES_TicketDetail>(TicketDetail));
 }