public virtual ApiLocationClientRequestModel MapClientResponseToRequest( ApiLocationClientResponseModel response) { var request = new ApiLocationClientRequestModel(); request.SetProperties( response.GpsLat, response.GpsLong, response.LocationName); return(request); }
public virtual ApiLocationClientResponseModel MapClientRequestToResponse( int locationId, ApiLocationClientRequestModel request) { var response = new ApiLocationClientResponseModel(); response.SetProperties(locationId, request.GpsLat, request.GpsLong, request.LocationName); return(response); }