예제 #1
0
 public UserRepository(IUsersBucketProvider usersBucketProvider)
 {
     _usersBucket = usersBucketProvider.GetBucket();
 }
예제 #2
0
 public CoreRepository(IUsersBucketProvider uBucket, ICategoriesBucketProvider cBucket, ITodosBucketProvider tBucket)
 {
     usersBucket      = uBucket.GetBucket();
     categoriesBucket = cBucket.GetBucket();
     todosBucket      = tBucket.GetBucket();
 }