Example #1
0
        public async Task Connect()
        {
            await Task.Run(() =>
            {
                Connected = serverService.Connect();

                dataBaseService.Connect();
            });
        }
Example #2
0
 static ServerService()
 {
     dataBaseService.Connect();
 }