예제 #1
0
 public BucketItemsController(BucketListContext context)
 {
     _context = context;
 }
예제 #2
0
 public ProfileController()
 {
     _context = new BucketListContext();
 }
예제 #3
0
 public UsersController()
 {
     _context = new BucketListContext();
 }
 public ResetPasswordController()
 {
     _context = new BucketListContext();
 }
예제 #5
0
 public HomeController(BucketListContext bucketListContext)
 {
     _bucketListContext = bucketListContext;
 }
 public BucketListRepository(BucketListContext bucketListContext)
 {
     this.bucketListContext = bucketListContext;
 }
예제 #7
0
        protected BucketListContext GetDbContext(bool useTestDb = false)
        {
            var dbContext = new BucketListContext(useTestDb);

            return(dbContext);
        }