public void listGroups_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         TransitAccountGroupPlace t_instance = new TransitAccountGroupPlace();
         t_instance.AccountGroupId = int.Parse(listGroups.SelectedValue);
         t_instance.PlaceId = RequestId;
         SessionManager.GroupService.CreateOrUpdateAccountGroupPlace(SessionManager.Ticket, t_instance);
         Redirect(string.Format("AccountGroupView.aspx?id={0}", listGroups.SelectedValue));
     }
     catch (Exception ex)
     {
         listGroups.SelectedIndex = 0;
         ReportException(ex);
     }
 }
Example #2
0
 public void listGroups_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         TransitAccountGroupPlace t_instance = new TransitAccountGroupPlace();
         t_instance.AccountGroupId = int.Parse(listGroups.SelectedValue);
         t_instance.PlaceId        = RequestId;
         SessionManager.GroupService.CreateOrUpdateAccountGroupPlace(SessionManager.Ticket, t_instance);
         Redirect(string.Format("AccountGroupView.aspx?id={0}", listGroups.SelectedValue));
     }
     catch (Exception ex)
     {
         listGroups.SelectedIndex = 0;
         ReportException(ex);
     }
 }
Example #3
0
 public int CreateOrUpdateAccountGroupPlace(string ticket, TransitAccountGroupPlace t_instance)
 {
     return WebServiceImpl<TransitAccountGroupPlace, ManagedAccountGroupPlace, AccountGroupPlace>.CreateOrUpdate(
         ticket, t_instance);
 }
Example #4
0
 public int CreateOrUpdateAccountGroupPlace(string ticket, TransitAccountGroupPlace t_instance)
 {
     return(WebServiceImpl <TransitAccountGroupPlace, ManagedAccountGroupPlace, AccountGroupPlace> .CreateOrUpdate(
                ticket, t_instance));
 }