Commit 41da292f94f6cea623635a8b7247029cf76629ab

Authored by Administrator
1 parent 922fa7d2

fix d

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