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,10 +6,10 @@ using MapsDb.Models; | ||
6 | using MapsModels.DsModels; | 6 | using MapsModels.DsModels; |
7 | namespace MapsDb.DataService | 7 | namespace MapsDb.DataService |
8 | { | 8 | { |
9 | - public class RegionDc : IRegionDc | 9 | + public class RegionDs : IRegionDs |
10 | { | 10 | { |
11 | private PostgresDbContext _context; | 11 | private PostgresDbContext _context; |
12 | - public RegionDc(){ | 12 | + public RegionDs(){ |
13 | _context = new PostgresDbContext(); | 13 | _context = new PostgresDbContext(); |
14 | } | 14 | } |
15 | public Task<IList<RegionSelectListDsM>> GetSelectListAsync(){ | 15 | public Task<IList<RegionSelectListDsM>> GetSelectListAsync(){ |
src/MapsDb/Interfaces/IRegionDc.cs renamed to src/MapsDb/Interfaces/IRegionDs.cs
@@ -4,7 +4,7 @@ using MapsModels.DsModels; | @@ -4,7 +4,7 @@ using MapsModels.DsModels; | ||
4 | using MapsDb.Models; | 4 | using MapsDb.Models; |
5 | namespace MapsDb.Interfaces | 5 | namespace MapsDb.Interfaces |
6 | { | 6 | { |
7 | - public interface IRegionDc | 7 | + public interface IRegionDs |
8 | { | 8 | { |
9 | Task<IList<RegionSelectListDsM>> GetSelectListAsync(); | 9 | Task<IList<RegionSelectListDsM>> GetSelectListAsync(); |
10 | } | 10 | } |
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 | +} |