public async Task Bootstrap() { IResolver resolver = GoldInvestmentApplication.Bootstrap(); _commandDispatcher = new CommandDispatcher(resolver); _queryDispatcher = new QueryDispatcher(resolver); }
public void ConfigureServices(IServiceCollection services) { services.AddMvc(); GoldInvestmentApplication.Bootstrap(services); }