Esempio n. 1
0
 public DataService(BeamApiService apiService)
 {
     _apiService = apiService;
     if (CurrentUser == null)
     {
         CurrentUser = new User()
         {
             Name = "Anon" + new Random().Next(0, 10)
         }
     }
     ;
 }
Esempio n. 2
0
 public DataService(BeamApiService apiService)
 {
     //throw new Exception("Oops");
     _apiService = apiService;
     if (CurrentUser == null)
     {
         CurrentUser = new User()
         {
             Name = "Anon" + new Random().Next(0, 10)
         }
     }
     ;
 }