public IndexModel( UserManager <User> userManager, SignInManager <User> signInManager, IEmailSender emailSender, IOptions <PhotoConfig> photoConfig, ITagManager tagManager, IFreelancingPlatformDbContext freelancingPlatformDbContext) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _photoConfig = photoConfig; _tagManager = tagManager; _freelancingPlatformDbContext = freelancingPlatformDbContext; }
public NotificationRepository(IFreelancingPlatformDbContext db) => _db = db;
public BalanceRepository(IFreelancingPlatformDbContext db) { _db = db; }
public UserRepository(IFreelancingPlatformDbContext db, UserManager <User> userManager) { _db = db; _userManager = userManager; }
public TagManager(IFreelancingPlatformDbContext db) => _db = db;
public JobRepository(IFreelancingPlatformDbContext db, UserManager <User> userManager, ITagManager tagManager) { _db = db; _userManager = userManager; _tagManager = tagManager; }
public ReviewRepository(IFreelancingPlatformDbContext db) { _db = db; }
public ModeratorManager(IFreelancingPlatformDbContext db) => _db = db;
public MessageRepository(IFreelancingPlatformDbContext db) => _db = db;
public JobRecommederService(IFreelancingPlatformDbContext dbContext, INotificationManager notificationManager) { _dbContext = dbContext; _notificationManager = notificationManager; }