/// <summary> /// Post an event when user data and answers /// has been saved in the database /// </summary> /// <param name="e">The form answers and user info</param> protected virtual void OnFormSubmitting(FormItemEventArgs e) { if (this.FormSubmitting != null) { this.FormSubmitting(this, e); } }
/// <summary> /// Post an event when user data have been created /// but at this point they aren't stored in the database /// so the voter id is not the one that will be saved /// in the database /// </summary> /// <param name="e">The form answers and user info</param> protected virtual void OnVoterDataCreated(FormItemEventArgs e) { if (this.VoterDataCreated != null) { this.VoterDataCreated(this, e); } }