public ActionResult SignUp(SignUpAction ActionCmd) { ActionCmd.MailContent = Server.MapPath("/Content/lib/MailContent.html"); return(JsonExpando(ActionCmd.Execute(CurrentObjectContext))); }
public async Task <ActionResult> SignUp(SignUpAction ActionCmd) { return(JsonExpando(await ActionCmd.Execute(CurrentObjectContext))); }