public GreetingsController(ChatBotContext dbContext, ILogger <GreetingsController> logger, IGreetingsRepository greetingsRepo, IMapper mapper) { _dbContext = dbContext; _logger = logger; _greetingsRepo = greetingsRepo; _mapper = mapper; }
//private readonly IOptions<GreetingOptions> _greetingOptions; public GreetingsController(IGreetingsRepository greetingsRespository) { _greetingsRespository = greetingsRespository; //_greetingOptions = greetingOptions; }
public GreetingsController(IGreetingsRepository greetingsRespository) { _greetingsRespository = greetingsRespository; }
public GreetingsController(IGreetingsRepository _greetingsRepsository) { greetingsRepsository = _greetingsRepsository; }
public GreetingsController(IGreetingsRepository greetingsRespository, IOptions<GreetingOptions> greetingOptions) { _greetingsRespository = greetingsRespository; _greetingOptions = greetingOptions; }
public GreetingsService(IGreetingsRepository greetingsRepository) { _greetingsRepository = greetingsRepository; }