Commit 87b67afd4192365aed14dc764ebde79a5d2599f9
1 parent
41da292f
fix dc
Showing
3 changed files
with
17 additions
and
3 deletions
Show diff stats
src/MapsDb/DataService/RegionDc.cs renamed to src/MapsDb/DataService/RegionDs.cs
| ... | ... | @@ -6,10 +6,10 @@ using MapsDb.Models; |
| 6 | 6 | using MapsModels.DsModels; |
| 7 | 7 | namespace MapsDb.DataService |
| 8 | 8 | { |
| 9 | - public class RegionDc : IRegionDc | |
| 9 | + public class RegionDs : IRegionDs | |
| 10 | 10 | { |
| 11 | 11 | private PostgresDbContext _context; |
| 12 | - public RegionDc(){ | |
| 12 | + public RegionDs(){ | |
| 13 | 13 | _context = new PostgresDbContext(); |
| 14 | 14 | } |
| 15 | 15 | public Task<IList<RegionSelectListDsM>> GetSelectListAsync(){ | ... | ... |
src/MapsDb/Interfaces/IRegionDc.cs renamed to src/MapsDb/Interfaces/IRegionDs.cs
| 1 | +using System.Collections.Generic; | |
| 2 | +using MapsModels.DsModels; | |
| 3 | + | |
| 4 | +namespace MapsModels.ViewModels | |
| 5 | +{ | |
| 6 | + public class DirectoryVm | |
| 7 | + { | |
| 8 | + public List<SurfaceTypeSelectListDsM> SurfaceTypeSelectListDsM { get; set; } | |
| 9 | + public List<StateCommonSelectListDsM> StateCommonSelectListDsM { get; set; } | |
| 10 | + public List<SettlementSelectListDsM> SettlementSelectListDsM { get; set; } | |
| 11 | + public List<RoadSelectListDsM> RoadSelectListDsM { get; set; } | |
| 12 | + public List<RegionSelectListDsM> RegionSelectListDsM { get; set; } | |
| 13 | + } | |
| 14 | +} | ... | ... |