public PostService(ApplicationDbContext db, UserManager <ApplicationUser> userManager) : base(userManager, db) { this.db = db; this.userManager = userManager; this.cyclicActivity = new AddCyclicActivity(this.db); }
public PostService( ApplicationDbContext db, IHubContext <NotificationHub> notificationHubContext, INotificationService notificationService, IMapper mapper) { this.db = db; this.notificationHubContext = notificationHubContext; this.notificationService = notificationService; this.mapper = mapper; this.cyclicActivity = new AddCyclicActivity(this.db); }
public PostService( ApplicationDbContext db, UserManager <ApplicationUser> userManager, IHubContext <NotificationHub> notificationHubContext, INotificationService notificationService) : base(userManager, db) { this.db = db; this.userManager = userManager; this.notificationHubContext = notificationHubContext; this.notificationService = notificationService; this.cyclicActivity = new AddCyclicActivity(this.db); }
public BlogService( ApplicationDbContext db, Cloudinary cloudinary, UserManager <ApplicationUser> userManager) : base(userManager, db) { this.db = db; this.cloudinary = cloudinary; this.userManager = userManager; this.postExtractor = new GlobalPostsExtractor(this.db); this.cyclicActivity = new AddCyclicActivity(this.db); this.nonCyclicActivity = new AddNonCyclicActivity(this.db); }
public BlogService( ApplicationDbContext db, Cloudinary cloudinary, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, INotificationService notificationService, IHubContext <NotificationHub> notificationHubContext, IMapper mapper) { this.db = db; this.cloudinary = cloudinary; this.userManager = userManager; this.roleManager = roleManager; this.notificationService = notificationService; this.notificationHubContext = notificationHubContext; this.mapper = mapper; this.cyclicActivity = new AddCyclicActivity(this.db); this.nonCyclicActivity = new AddNonCyclicActivity(this.db); }