public virtual ApiUserClientRequestModel MapClientResponseToRequest( ApiUserClientResponseModel response) { var request = new ApiUserClientRequestModel(); request.SetProperties( response.Password, response.Username); return(request); }
public virtual ApiUserClientResponseModel MapClientRequestToResponse( int id, ApiUserClientRequestModel request) { var response = new ApiUserClientResponseModel(); response.SetProperties(id, request.Password, request.Username); return(response); }