Exemplo n.º 1
0
 public MoviesController(movies_apiContext context, IMapper mapper,
                         IFileStorageService fileStorageService)
 {
     _context            = context;
     _mapper             = mapper;
     _fileStorageService = fileStorageService;
 }
Exemplo n.º 2
0
 public GenresController(ILogger <GenresController> logger,
                         movies_apiContext context, IMapper mapper
                         )
 {
     _context = context;
     _logger  = logger;
     _mapper  = mapper;
 }
Exemplo n.º 3
0
 public AccountsController(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IConfiguration configuration,
     movies_apiContext context,
     IMapper mapper
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _configuration = configuration;
     _context       = context;
     _mapper        = mapper;
 }