public ISuppliesService CreateSuppliesService() { SuppliesService = new SuppliesService( "mongodb+srv://dev:[email protected]/test?retryWrites=true&w=majority", "12178298172871"); return(SuppliesService); }
public void Initialize() { FileUtilities.BasePath = TestConfiguration.GetTestAssetPath(); var config = TestConfiguration.GetMockConfiguration(); _humphriesService = new HumphriesProvider(config.Object);; _megaCorpService = new MegaCorpProvider(config.Object); _suppliesservice = new SuppliesProvider(_megaCorpService, _humphriesService); }
public SuppliesController(ISuppliesService suppliesService) { this.suppliesService = suppliesService; }
public SuppliesServiceFacade(IMapper mapper, ISuppliesService suppliesService) { _mapper = mapper; _suppliesService = suppliesService; }