/// <remarks>This is to wrap any non-successful reply into a navigation response, this /// is required because the Navigation Service API only returns a NavigationResponse type</remarks> internal NavigationResponse(IUrlResponse response) : this((NavigationRequest)response.Request, response.Status, response.Content, response.ResponseParameters, response.Error) { }
/// <remarks>This is to wrap any non-success reply into a action response</remarks> internal ControllerContext(IUrlResponse response) : this((ControllerActionRequest)response.Request, response.Status, response.Content as IController, response.ResponseParameters, response.Error) { }