public object Post(AddTicket request) { var ticket = TicketRepo.CreateTicket(ToCreateTicket(request)); return(new AddTicketResponse() { Status = (int)CommonStatus.Success, Data = ticket.ConvertTo <ServiceModel.Types.Ticket>() }); }
public object Post(AddTicket request) { var ticket = TicketRepo.CreateTicket(ToCreateTicket(request)); return(new AddTicketResponse() { Status = (int)CommonStatus.Success, Data = ticket.ConvertTo <ServiceModel.Types.Ticket>() }); }