public AccountController()
 {
     this.dbContext             = new CollectionDbContext();
     this.userService           = new UserService(this.dbContext);
     this.collectionTypeService = new CollectionTypeService(this.dbContext);
 }
示例#2
0
 public CollectionController()
 {
     this.dbContext             = new CollectionDbContext();
     this.collectionService     = new CollectionService(this.dbContext);
     this.collectionTypeService = new CollectionTypeService(this.dbContext);
 }