Commit 41da292f94f6cea623635a8b7247029cf76629ab

Authored by Administrator
1 parent 922fa7d2

fix d

src/Maps/Controllers/BusStopController.cs
... ... @@ -18,16 +18,16 @@ namespace Maps.Controllers
18 18 private readonly IRoadDs _roadDs;
19 19 private readonly ISettlementDs _settlementDs;
20 20 private readonly IStateCommonDs _stateCommonDs;
21   - private readonly IRegionDc _regionDc;
  21 + private readonly IRegionDs _regionDs;
22 22 private readonly ISurfaceTypeDs _surfaceTypeDs;
23 23  
24   - public BusStopController(IBusStopDs BusStopDs, IRoadDs RoadDs, ISettlementDs SettlementDs, IRegionDc RegionDs, IStateCommonDs StateCommonDs, ISurfaceTypeDs SurfaceTypeDs)
  24 + public BusStopController(IBusStopDs BusStopDs, IRoadDs RoadDs, ISettlementDs SettlementDs, IRegionDs RegionDs, IStateCommonDs StateCommonDs, ISurfaceTypeDs SurfaceTypeDs)
25 25 {
26 26 _busStopDs = BusStopDs;
27 27 _roadDs = RoadDs;
28 28 _settlementDs = SettlementDs;
29 29 _stateCommonDs = StateCommonDs;
30   - _regionDc = RegionDs;
  30 + _regionDs = RegionDs;
31 31 _surfaceTypeDs = SurfaceTypeDs;
32 32 }
33 33  
... ... @@ -73,7 +73,7 @@ namespace Maps.Controllers
73 73 var StateCommon = await _stateCommonDs.GetSelectListAsync();
74 74 var Settlement = await _settlementDs.GetSelectListAsync();
75 75 var Road = await _roadDs.GetSelectListAsync();
76   - var Region = await _regionDc.GetSelectListAsync();
  76 + var Region = await _regionDs.GetSelectListAsync();
77 77  
78 78 CreateBusStopVm vm = new CreateBusStopVm
79 79 {
... ...
src/Maps/Startup.cs
... ... @@ -42,7 +42,7 @@ namespace Maps
42 42  
43 43 services.AddScoped<IBusStopDs, BusStopDs>();
44 44 services.AddScoped<IRoadDs, RoadDc>();
45   - services.AddScoped<IRegionDc, RegionDc>();
  45 + services.AddScoped<IRegionDs, RegionDs>();
46 46 services.AddScoped<IStateCommonDs, StateCommonDc>();
47 47 services.AddScoped<ISurfaceTypeDs, SurfaceTypeDc>();
48 48 services.AddScoped<ISettlementDs, SettlementDc>();
... ...