示例#1
0
 public ProfileMembersController(ArtHubDbContext context, IProfileRepository profileRepository)
 {
     this.profileRepository = profileRepository;
 }
 public DbProfileRepository(ArtHubDbContext context, IUserService userService)
 {
     _context         = context;
     this.userService = userService;
 }
 public ProfileController(ArtHubDbContext context, IProfileRepository profileRepository)
 {
     _context = context;
     this.profileRepository = profileRepository;
 }
 public ProfileCollectionController(ArtHubDbContext context, IProfileCollectionRepository profileCollectionRepository, ICollectionRepository collectionRepository)
 {
     _context = context;
     this.profileCollectionRepository = profileCollectionRepository;
     this.collectionRepository        = collectionRepository;
 }
 public CollectionsController(ArtHubDbContext context, ICollectionRepository collectionRepository)
 {
     _context = context;
     this.collectionRepository = collectionRepository;
 }