Beispiel #1
0
 public DataService(BeamApiService apiService)
 {
     _apiService = apiService;
     if (CurrentUser == null)
     {
         CurrentUser = new User()
         {
             Name = "Anon" + new Random().Next(0, 10)
         }
     }
     ;
 }
Beispiel #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)
         }
     }
     ;
 }