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