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

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

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