Пример #1
0
        public FlightsController(IConfiguration configuration, IPassangerRepository passangerRepository)
        {
            _passangerRepository = passangerRepository;
            _storageAccount      = CloudStorageAccount.Parse(configuration.GetConnectionString("BloggingDatabase"));
            CloudBlobClient blogClient = _storageAccount.CreateCloudBlobClient();

            _container = blogClient.GetContainerReference(_manifests);
        }
Пример #2
0
 public PassangerService(IPassangerRepository passangerRepository)
 {
     _passangerRepository = passangerRepository;
 }
Пример #3
0
 public FlightsController(IPassangerRepository passangerRepository)
 {
     _passangerRepository = passangerRepository;
 }
Пример #4
0
 public PassangerManager(PassengerRepository PassengerRepository)
 {
     _PassengerRepository = PassengerRepository;
 }