protected override void OnSave()
        {
            if (this.IsNew)
            {
                if (this.Customer.IsEmptyInstance)
                {
                    this.Customer = Contact.Parse(51);
                }

                if (this.Provider.IsEmptyInstance)
                {
                    this.Provider = Contact.Parse(50);
                }

                this.ControlNo = HelpDeskData.GetNextControlNoForTicket(this.Provider);
            }

            HelpDeskData.WriteTicket(this);
        }
 static public FixedList <T> GetOpened <T>(string keywords) where T : HelpDeskTicket
 {
     return(HelpDeskData.GetOpenedTickets <T>(keywords));
 }
 static public FixedList <T> Search <T>(string keywords) where T : HelpDeskTicket
 {
     return(HelpDeskData.SearchTickets <T>(keywords));
 }