예제 #1
0
 public UserService()
 {
     _dbContext = DependencyService.Get <FoodAppContext>();
 }
예제 #2
0
 public DataRepository()
 {
     _dbContext   = DependencyService.Get <FoodAppContext>();
     _userService = DependencyService.Get <IUserService>();
 }