Ejemplo n.º 1
0
    public void addAccountProperty_Click(object sender, EventArgs e)
    {
        TransitReminderAccountProperty trap = new TransitReminderAccountProperty();

        trap.AccountPropertyId = int.Parse(inputAccountProperty.SelectedValue);
        trap.ReminderId        = RequestId;
        trap.Value             = inputAccountPropertyValue.Text;
        trap.Unset             = inputAccountPropertyEmpty.Checked;
        SessionManager.CreateOrUpdate <TransitReminderAccountProperty>(
            trap, SessionManager.ObjectService.CreateOrUpdateReminderAccountProperty);
        GetAccountPropertiesData(sender, e);
        ReportInfo("Property Added");
    }
Ejemplo n.º 2
0
 public void addAccountProperty_Click(object sender, EventArgs e)
 {
     TransitReminderAccountProperty trap = new TransitReminderAccountProperty();
     trap.AccountPropertyId = int.Parse(inputAccountProperty.SelectedValue);
     trap.ReminderId = RequestId;
     trap.Value = inputAccountPropertyValue.Text;
     trap.Unset = inputAccountPropertyEmpty.Checked;
     SessionManager.CreateOrUpdate<TransitReminderAccountProperty>(
         trap, SessionManager.ObjectService.CreateOrUpdateReminderAccountProperty);
     GetAccountPropertiesData(sender, e);
     ReportInfo("Property Added");
 }
Ejemplo n.º 3
0
 public int CreateOrUpdateReminderAccountProperty(string ticket, TransitReminderAccountProperty reminderaccountproperty)
 {
     return(WebServiceImpl <TransitReminderAccountProperty, ManagedReminderAccountProperty, ReminderAccountProperty> .CreateOrUpdate(
                ticket, reminderaccountproperty));
 }
Ejemplo n.º 4
0
 public int CreateOrUpdateReminderAccountProperty(string ticket, TransitReminderAccountProperty reminderaccountproperty)
 {
     return WebServiceImpl<TransitReminderAccountProperty, ManagedReminderAccountProperty, ReminderAccountProperty>.CreateOrUpdate(
         ticket, reminderaccountproperty);
 }