Hi thanks both of you,
I've finally had a chance to play with this. Here are my findings:
To get this to work I had to do the following:
1. Create a Get_Id_Handler like Josh suggested.
2. Create a new input Model called GetIdInputModel with the Id
property on it.
3. Finally call RedirectTo with a new GetIdInputModel like Gary
suggested.
Then it seems to work fine.
public class PostHandler
{
public FubuContinuation Execute(PostInputModel
inputModel)
{
return FubuContinuation.RedirectTo(
x => x.Execute(new GetIdInputModel
{
Id = inputModel.Id
}));
}
}
Josh is there a good reference (apart from code) where I can read a
bit more about the handler conventions. Perhaps I should update the
fubu continuation recipe with these findings? Think it's worth it?
Dave