コード例 #1
0
        public TicketModel CreateTicket(TicketModel TicketModel)
        {
            var entityreturned = _libraryRepository.CreateTicket(_mapper.Map <TicketEntity>(TicketModel));

            return(_mapper.Map <TicketModel>(entityreturned));
        }