public MessagesControllerTest()
 {
     _service       = new AirTableServiceFake();
     _configuration = new ConfigurationBuilder()
                      .Build();
     _controller = new MessagesController(_configuration, _service);
 }
Exemple #2
0
 public GetMessagesQueryHandler(IAirTableService airTableService, IMapper mapper)
 {
     _airTableService = airTableService;
     _mapper          = mapper;
 }
 public SaveMessageCommandHandler(IAirTableService airTableService, IMapper mapper)
 {
     _airTableService = airTableService;
     _mapper          = mapper;
 }
 public MessagesController(IConfiguration configuration, IAirTableService airTableService)
 {
     _airTableService = airTableService;
     _baseId          = configuration["AirTable:BaseId"];
     _appKey          = configuration["AirTable:AppKey"];
 }