public void TestFixureSetup() { _userElasticsearch = new UserElasticsearch(); _userRepository = new UserRepository(); // _userService = new UserService(_userElasticsearch,_userRepository,_breweryElasticsearch,_breweryRepository); _blobController = new BlobController(_userService); }
public void TestFixureSetup() { _userElasticsearch = new UserElasticsearch(); _userRepository = new UserRepository(); // _userService = new UserService(_userElasticsearch,_userRepository,_breweryElasticsearch,_breweryRepository); _blobController = new BlobController(_userService); }
public UserService(IUserElasticsearch userElasticsearch, IUserRepository userRepository, IBreweryElasticsearch breweryElasticsearch, IBreweryRepository breweryRepository, IBeerRepository beerRepository, IBeerElasticsearch beerElasticsearch) { _userElasticsearch = userElasticsearch; _userRepository = userRepository; _breweryElasticsearch = breweryElasticsearch; _breweryRepository = breweryRepository; _beerRepository = beerRepository; _beerElasticsearch = beerElasticsearch; }
public UserService(IUserElasticsearch userElasticsearch, IUserRepository userRepository, IBreweryElasticsearch breweryElasticsearch, IBreweryRepository breweryRepository, IBeerRepository beerRepository, IBeerElasticsearch beerElasticsearch) { _userElasticsearch = userElasticsearch; _userRepository = userRepository; _breweryElasticsearch = breweryElasticsearch; _breweryRepository = breweryRepository; _beerRepository = beerRepository; _beerElasticsearch = beerElasticsearch; }
public void TextFixtureSetup() { AutoMapperConfiguration.Configure(); _breweryElasticsearch = new BreweryElasticsearch(); _breweryRepository = new BreweryRepository(); _userElasticsearch = new UserElasticsearch(); _userRepository = new UserRepository(); _userService = new UserService(_userElasticsearch,_userRepository,_breweryElasticsearch,_breweryRepository,_beerRepository,_beerElasticsearch); _breweryService = new BreweryService(_breweryRepository, _breweryElasticsearch, _userService); _beerRepository = new BeerRepository(); _beerElasticsearch = new BeerElasticsearch(); _beerService = new BeerService(_beerElasticsearch,_beerRepository,_userService,_breweryService); }
public void TextFixtureSetup() { AutoMapperConfiguration.Configure(); _breweryElasticsearch = new BreweryElasticsearch(); _breweryRepository = new BreweryRepository(); _userElasticsearch = new UserElasticsearch(); _userRepository = new UserRepository(); _userService = new UserService(_userElasticsearch, _userRepository, _breweryElasticsearch, _breweryRepository, _beerRepository, _beerElasticsearch); _breweryService = new BreweryService(_breweryRepository, _breweryElasticsearch, _userService); _beerRepository = new BeerRepository(); _beerElasticsearch = new BeerElasticsearch(); _beerService = new BeerService(_beerElasticsearch, _beerRepository, _userService, _breweryService); }
public UserService(IUserRepository userRepository, IUserElasticsearch userElasticsearch) { _userRepository = userRepository; _userElasticsearch = userElasticsearch; }