Example #1
0
 public void PostEditHandler(DreamContext context) {
     context.Redirect(Plug.New(
         Env.RootUri.At("widget", "load", "dekibizcard")
         .With("mode", "edit")
         .With("id", context.Uri.GetParam("id", "-1"))
     ));
 }
Example #2
0
        public void GetPostGlobalMessage(DreamContext context) {

            // TODO (steveb): updated user's presence status

            context.Redirect(_global.At("events"));
        }