Ejemplo n.º 1
0
        public virtual ApiTransactionStatusClientRequestModel MapClientResponseToRequest(
            ApiTransactionStatusClientResponseModel response)
        {
            var request = new ApiTransactionStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Ejemplo n.º 2
0
        public virtual ApiTransactionStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiTransactionStatusClientRequestModel request)
        {
            var response = new ApiTransactionStatusClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }