コード例 #1
0
ファイル: Contact.cs プロジェクト: Amrsherifmohamed/Outliers
 public ContactController(IOutliersRepository repo, IMapper mapper, DataContext context, UserManager <User> userManager)
 {
     _userManager = userManager;
     _mapper      = mapper;
     _repo        = repo;
     _context     = context;
 }
コード例 #2
0
 public UsersController(IOutliersRepository repo, IMapper mapper, IOptions <StripeSettings> stripeSettings,
                        IConverter converter)
 {
     _converter      = converter;
     _stripeSettings = stripeSettings;
     _mapper         = mapper;
     _repo           = repo;
 }
コード例 #3
0
        public VideosController(IOutliersRepository repository, IOptions <CloudinarySettings> cloudinaryConfig, IMapper mapper)
        {
            _mapper           = mapper;
            _cloudinaryConfig = cloudinaryConfig;
            _repository       = repository;
            Account acc = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(acc);
        }
コード例 #4
0
 public PostsController(IOutliersRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
コード例 #5
0
 public TemplateGenerator(IOutliersRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
コード例 #6
0
 public MessagesController(IOutliersRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
コード例 #7
0
 public CommentController(IOutliersRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
コード例 #8
0
 public CareerpathController(IOutliersRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }