public TourPackageUnitOfWork(string connectionString, string migrationAssemblyName) : base(connectionString, migrationAssemblyName) { TourPackageRepository = new TourPackageRepository(_dbContext); SpotRepository = new SpotRepository(_dbContext); LoveRepository = new LoveRepository(_dbContext); }
public SpotService(SpotRepository spotRepository) { SpotRepository = spotRepository; }
public SpotUnitOfWork(string connectionString, string migrationAssemblyName) : base(connectionString, migrationAssemblyName) { SpotRepository = new SpotRepository(_dbContext); }
public SpotService(SpotRepository repository, IFacebookClient facebookClient, ITwitterClient twitterClient) { _repository = repository; _facebookClient = facebookClient; _twitterClient = twitterClient; }