public MoviesController(movies_apiContext context, IMapper mapper,
                         IFileStorageService fileStorageService)
 {
     _context            = context;
     _mapper             = mapper;
     _fileStorageService = fileStorageService;
 }
 public GenresController(ILogger <GenresController> logger,
                         movies_apiContext context, IMapper mapper
                         )
 {
     _context = context;
     _logger  = logger;
     _mapper  = mapper;
 }
Exemple #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;
 }