public PhotosController(ZawajDbContext context, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _context = context; _mapper = mapper; _cloudinaryConfig = cloudinaryConfig; Account account = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret); _cloudinary = new Cloudinary(account); }
public AdminController(ZawajDbContext context, UserManager <User> userManager, IOptions <CloudinarySettings> cloudinaryConfig) { _cloudinaryConfig = cloudinaryConfig; _userManager = userManager; _context = context; Account acc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(acc); }
public ChatHub(ZawajDbContext context) { _context = context; }
public PaymentController(ZawajDbContext context, IOptions <StripeSettings> stripeSettings) { _context = context; _stripeSettings = stripeSettings; }
public UserActiveActionFilter(UserManager <User> userManager, ZawajDbContext context) { _userManager = userManager; _context = context; }
public UsersController(UserManager <User> userManager, ZawajDbContext context, IMapper mapper) { _userManager = userManager; _context = context; _mapper = mapper; }
public UserRepo(ZawajDbContext context) { _context = context; }
public LikesController(ZawajDbContext context, IMapper mapper) { _mapper = mapper; _context = context; }
public ChatController(ZawajDbContext context, IMapper mapper, IHubContext <ChatHub> hub) { _hub = hub; _mapper = mapper; _context = context; }