static void AgentSync()
        {
            IEnumerable <AgentDto> agents = freshdesk.GetAgents();

            foreach (var agent in agents)
            {
                try
                {
                    crm.UpdateAgent(agent);
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.Message);
                }
            }

            UpdateAppsettings("AgentLastSyncDate", 3);
        }