Exemplo n.º 1
0
 public List <User> GetSubscribersList()
 {
     try
     {
         return(serviceUser.GetSubscribersList().ToList());
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Console.WriteLine("Connection Error! Database Server Manager Unreacheable!");
         Console.ForegroundColor = ConsoleColor.DarkCyan;
     }
     return(null);
 }