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

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

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