/// <summary> /// LoadCurrentSupportTicket /// </summary> /// <param name="companyId">companyId</param> public void LoadCurrentSupportTicketByState(string state, int companyId) { DashboardMySupportTicketGateway dashboardMySupportTicketGateway = new DashboardMySupportTicketGateway(Data); if (state != "%") { dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState(state, companyId); } else { dashboardMySupportTicketGateway.Table.Clear(); dashboardMySupportTicketGateway.ClearBeforeFill = false; dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState("New", companyId); dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState("In Progress", companyId); dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState("Completed", companyId); dashboardMySupportTicketGateway.ClearBeforeFill = true; } }
// <summary> /// LoadCurrentSupportTicket /// </summary> /// <param name="companyId">companyId</param> public void LoadNewAndInProgressSupportTicket(int companyId) { DashboardMySupportTicketGateway dashboardMySupportTicketGateway = new DashboardMySupportTicketGateway(Data); dashboardMySupportTicketGateway.Table.Clear(); dashboardMySupportTicketGateway.ClearBeforeFill = false; dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState("New", companyId); dashboardMySupportTicketGateway.LoadCurrentSupportTicketByState("In Progress", companyId); dashboardMySupportTicketGateway.ClearBeforeFill = true; }