public LoginController(FrotaAppDbContext dbContext, UserManager <Login> userManager, IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions) { _userManager = userManager; _jwtFactory = jwtFactory; _jwtOptions = jwtOptions.Value; _dbContext = dbContext; _serializerSettings = new JsonSerializerSettings { Formatting = Formatting.Indented }; }
public ApontamentoController(FrotaAppDbContext dbContext) { _dbContext = dbContext; }
public ColaboradorController(UserManager <Login> userManager, IMapper mapper, FrotaAppDbContext appDbContext) { _userManager = userManager; _mapper = mapper; _appDbContext = appDbContext; }
public VeiculoController(FrotaAppDbContext dbContext) { _dbContext = dbContext; }