Commit 87b67afd4192365aed14dc764ebde79a5d2599f9

Authored by Administrator
1 parent 41da292f

fix dc

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
... ... @@ -4,7 +4,7 @@ using MapsModels.DsModels;
4 4 using MapsDb.Models;
5 5 namespace MapsDb.Interfaces
6 6 {
7   - public interface IRegionDc
  7 + public interface IRegionDs
8 8 {
9 9 Task<IList<RegionSelectListDsM>> GetSelectListAsync();
10 10 }
... ...
src/MapsModels/ViewModels/DirectoryVm.cs 0 → 100644
  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 +}
... ...