public static string ManageData(TicketHistories item, int index)
        {
            var data = " ";

            switch (item.Property)
            {
            case "ProjectId":
                data = index == 0 ? ProjectHelper.GetProjectNameById(Convert.ToInt32(item.OldValue)) : ProjectHelper.GetProjectNameById(Convert.ToInt32(item.NewValue));
                break;

            case "AssignedToUserId":
                data = index == 0 ? UserHelper.GetDisplayNameFromId(item.OldValue) : UserHelper.GetDisplayNameFromId(item.NewValue);
                break;

            case "RoleId":
                data = index == 0 ? RoleHelper.GetRoleName(item.OldValue) : RoleHelper.GetRoleName(item.NewValue);
                break;

            case "TicketPriorityId":
                data = index == 0 ? TicketsHelper.GetTicketPriorityNameById(Convert.ToInt32(item.OldValue)) : TicketsHelper.GetTicketPriorityNameById(Convert.ToInt32(item.NewValue));
                break;

            case "TicketStatusId":
                data = index == 0 ? TicketsHelper.GetTicketStatusNameById(Convert.ToInt32(item.OldValue)) : TicketsHelper.GetTicketStatusNameById(Convert.ToInt32(item.NewValue));
                break;

            case "TicketTypeId":
                data = index == 0 ? TicketsHelper.GetTicketTypeNameById(Convert.ToInt32(item.OldValue)) : TicketsHelper.GetTicketTypeNameById(Convert.ToInt32(item.NewValue));
                break;

            case "OwnerUserId":
                data = index == 0 ? UserHelper.GetDisplayNameFromId(item.OldValue) : UserHelper.GetDisplayNameFromId(item.NewValue);
                break;

            default:
                data = index == 0 ? item.OldValue : item.NewValue;
                break;
            }
            return(data);
        }