Exemplo n.º 1
0
        public virtual ApiOffCapabilityClientRequestModel MapClientResponseToRequest(
            ApiOffCapabilityClientResponseModel response)
        {
            var request = new ApiOffCapabilityClientRequestModel();

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

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