Example #1
0
        public async Task <IHttpActionResult> Book([FromUri] string userId, [FromBody] BookTicketModel model)
        {
            IHttpActionResult result = null;
            var r = await _ticketRepository.BookTicket(userId, model);

            result = GetResult(r);
            return(result);
        }