Exemple #1
0
        public virtual ApiSaleTicketsClientRequestModel MapClientResponseToRequest(
            ApiSaleTicketsClientResponseModel response)
        {
            var request = new ApiSaleTicketsClientRequestModel();

            request.SetProperties(
                response.SaleId,
                response.TicketId);
            return(request);
        }
Exemple #2
0
        public virtual ApiSaleTicketsClientResponseModel MapClientRequestToResponse(
            int id,
            ApiSaleTicketsClientRequestModel request)
        {
            var response = new ApiSaleTicketsClientResponseModel();

            response.SetProperties(id,
                                   request.SaleId,
                                   request.TicketId);
            return(response);
        }