Ejemplo n.º 1
0
 public AdvertisementsController(SecondBikeContext context,
                                 ISecondBikeRepository repository,
                                 UserManager <User> userManager,
                                 ILogger <AdvertisementsController> logger)
 {
     _context     = context;
     _repository  = repository;
     _userManager = userManager;
     _logger      = logger;
 }
Ejemplo n.º 2
0
 public MyAccountController(UserManager <User> userManager,
                            ILogger <MyAccountController> logger,
                            IMapper mapper,
                            ISecondBikeRepository repository,
                            SecondBikeContext context)
 {
     _userManager = userManager;
     _logger      = logger;
     _mapper      = mapper;
     _repository  = repository;
     _context     = context;
 }
Ejemplo n.º 3
0
 public AppController(ISecondBikeRepository repository,
                      IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public APIAdvertisementsController(ISecondBikeRepository repository, ILogger <APIAdvertisementsController> logger, IMapper mapper)
 {
     _repository = repository;
     _logger     = logger;
     _mapper     = mapper;
 }