public FlightsController(IConfiguration configuration, IPassangerRepository passangerRepository) { _passangerRepository = passangerRepository; _storageAccount = CloudStorageAccount.Parse(configuration.GetConnectionString("BloggingDatabase")); CloudBlobClient blogClient = _storageAccount.CreateCloudBlobClient(); _container = blogClient.GetContainerReference(_manifests); }
public PassangerService(IPassangerRepository passangerRepository) { _passangerRepository = passangerRepository; }
public FlightsController(IPassangerRepository passangerRepository) { _passangerRepository = passangerRepository; }
public PassangerManager(PassengerRepository PassengerRepository) { _PassengerRepository = PassengerRepository; }