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

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

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