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); } }
public int CreateOrUpdateAccountGroupPlace(string ticket, TransitAccountGroupPlace t_instance) { return WebServiceImpl<TransitAccountGroupPlace, ManagedAccountGroupPlace, AccountGroupPlace>.CreateOrUpdate( ticket, t_instance); }
public int CreateOrUpdateAccountGroupPlace(string ticket, TransitAccountGroupPlace t_instance) { return(WebServiceImpl <TransitAccountGroupPlace, ManagedAccountGroupPlace, AccountGroupPlace> .CreateOrUpdate( ticket, t_instance)); }