public static ComboBoxItem[] GetTicketTypes(int ticketTemplateID)
    {
        TicketTypes ticketTypes = new TicketTypes(UserSession.LoginUser);

        ticketTypes.LoadByTicketTemplate(UserSession.LoginUser.OrganizationID, ticketTemplateID);
        List <ComboBoxItem> result = new List <ComboBoxItem>();

        foreach (TicketType ticketType in ticketTypes)
        {
            result.Add(new ComboBoxItem(ticketType.Name, ticketType.TicketTypeID));
        }
        return(result.ToArray());
    }