Exemple #1
0
 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;
Exemple #3
0
 public BalanceRepository(IFreelancingPlatformDbContext db)
 {
     _db = db;
 }
Exemple #4
0
 public UserRepository(IFreelancingPlatformDbContext db, UserManager <User> userManager)
 {
     _db          = db;
     _userManager = userManager;
 }
Exemple #5
0
 public TagManager(IFreelancingPlatformDbContext db) => _db = db;
Exemple #6
0
 public JobRepository(IFreelancingPlatformDbContext db, UserManager <User> userManager, ITagManager tagManager)
 {
     _db          = db;
     _userManager = userManager;
     _tagManager  = tagManager;
 }
Exemple #7
0
 public ReviewRepository(IFreelancingPlatformDbContext db)
 {
     _db = db;
 }
Exemple #8
0
 public ModeratorManager(IFreelancingPlatformDbContext db) => _db = db;
Exemple #9
0
 public MessageRepository(IFreelancingPlatformDbContext db) => _db = db;
Exemple #10
0
 public JobRecommederService(IFreelancingPlatformDbContext dbContext, INotificationManager notificationManager)
 {
     _dbContext           = dbContext;
     _notificationManager = notificationManager;
 }