示例#1
0
 public ClubService(ApplicationDbContext dbContext,
                    UserService userService, CloudinaryService cloudinaryService,
                    UserManager <User> userManager)
 {
     this.dbContext         = dbContext;
     this.userService       = userService;
     this.cloudinaryService = cloudinaryService;
     this.userManager       = userManager;
 }
示例#2
0
 public PostService(ApplicationDbContext dbContext,
                    CloudinaryService cloudinaryService,
                    UserService userService,
                    NotificationService notificationService,
                    ClubService clubService)
 {
     this.dbContext           = dbContext;
     this.cloudinaryService   = cloudinaryService;
     this.userService         = userService;
     this.notificationService = notificationService;
     this.clubService         = clubService;
 }