Commit 32912d0bbb72483482b5eaf41da3ed753246ad36

Authored by Administrator
0 parents

first commit

Showing 163 changed files with 9664 additions and 0 deletions   Show diff stats
.gitignore 0 → 100644
  1 +++ a/.gitignore
  1 +.vscode
  2 +src/Maps/obj
  3 +src/Maps/bin
  4 +src/Maps/project.lock.json
  5 +src/MapsDb/obj
  6 +src/MapsDb/bin
  7 +src/MapsDb/project.lock.json
  8 +src/MapsModels/obj
  9 +src/MapsModels/bin
  10 +src/MapsModels/project.lock.json
0 \ No newline at end of file 11 \ No newline at end of file
global.json 0 → 100644
  1 +++ a/global.json
  1 +{
  2 + "projects": [
  3 + "src",
  4 + "test"
  5 + ]
  6 +}
0 \ No newline at end of file 7 \ No newline at end of file
src/Maps/.bowerrc 0 → 100644
  1 +++ a/src/Maps/.bowerrc
  1 +{
  2 + "directory": "wwwroot/lib"
  3 +}
src/Maps/Controllers/BusStopController.cs 0 → 100755
  1 +++ a/src/Maps/Controllers/BusStopController.cs
  1 +using System.Linq;
  2 +using System.Threading.Tasks;
  3 +using Microsoft.AspNetCore.Mvc;
  4 +using Microsoft.AspNetCore.Mvc.Rendering;
  5 +using Microsoft.EntityFrameworkCore;
  6 +using MapsDb;
  7 +using MapsDb.Interfeces;
  8 +using MapsDb.DataService;
  9 +using MapsModels.ViewModels;
  10 +namespace Maps.Controllers
  11 +{
  12 + public class BusStopController : Controller
  13 + {
  14 + private readonly IBusStopDs _busStopDs;
  15 +
  16 + public BusStopController(IBusStopDs BusStopDs)
  17 + {
  18 + _busStopDs = BusStopDs;
  19 + }
  20 +
  21 + // GET: BusStop
  22 + [HttpGet]
  23 + public async Task<IActionResult> Index()
  24 + {
  25 + var busStops = await _busStopDs.GetAllBusStopAsync();
  26 +
  27 + ListBusStopVm vm = new ListBusStopVm
  28 + {
  29 + busStopListDs = busStops.ToList()
  30 + };
  31 +
  32 + return Json(vm);
  33 + }
  34 +
  35 +
  36 + // GET: BusStop/Details/5
  37 + public async Task<IActionResult> Details(int id)
  38 + {
  39 +
  40 + var busStop = await _busStopDs.FindOneDetailsAsync(id);
  41 + if (busStop == null)
  42 + {
  43 + return NotFound();
  44 + }
  45 +
  46 + return View(busStop);
  47 + }
  48 +
  49 + // GET: BusStop/Create
  50 + public IActionResult Create()
  51 + {
  52 + ViewData["RegionId"] = new SelectList(_context.Region, "RegionId", "RegionId");
  53 + ViewData["RoadId"] = new SelectList(_context.Road, "RoadId", "Name");
  54 + ViewData["SettlementId"] = new SelectList(_context.Settlement, "SettlementId", "Name");
  55 + ViewData["StateCommonId"] = new SelectList(_context.StateCommon, "StateCommonId", "Value");
  56 + ViewData["SurfaceTypeId"] = new SelectList(_context.SurfaceType, "SurfaceTypeId", "Name");
  57 + return View();
  58 + }
  59 +
  60 + // POST: BusStop/Create
  61 + // To protect from overposting attacks, please enable the specific properties you want to bind to, for
  62 + // more details see http://go.microsoft.com/fwlink/?LinkId=317598.
  63 + [HttpPost]
  64 + [ValidateAntiForgeryToken]
  65 + public async Task<IActionResult> Create([Bind("BusStopId,AreaLandAvailability,AreaStopAvailability,BalanceCost,BusStationCardId,CrossSectionNumber,DateActual,LocationLeft,LocationRight,PocketAvailability,Position,RegionId,RepairCertificate,RoadId,SettlementId,StateCommonId,SurfaceTypeId,ToiletAvailability,YearBuild,YearRepair")] BusStop busStop)
  66 + {
  67 + if (ModelState.IsValid)
  68 + {
  69 + _context.Add(busStop);
  70 + await _context.SaveChangesAsync();
  71 + return RedirectToAction("Index");
  72 + }
  73 + ViewData["RegionId"] = new SelectList(_context.Region, "RegionId", "RegionId", busStop.RegionId);
  74 + ViewData["RoadId"] = new SelectList(_context.Road, "RoadId", "RoadId", busStop.RoadId);
  75 + ViewData["SettlementId"] = new SelectList(_context.Settlement, "SettlementId", "Name", busStop.SettlementId);
  76 + ViewData["StateCommonId"] = new SelectList(_context.StateCommon, "StateCommonId", "StateCommonId", busStop.StateCommonId);
  77 + ViewData["SurfaceTypeId"] = new SelectList(_context.SurfaceType, "SurfaceTypeId", "SurfaceTypeId", busStop.SurfaceTypeId);
  78 + return View(busStop);
  79 + }
  80 +
  81 + // GET: BusStop/Edit/5
  82 + public async Task<IActionResult> Edit(int? id)
  83 + {
  84 + if (id == null)
  85 + {
  86 + return NotFound();
  87 + }
  88 +
  89 + var busStop = await _context.BusStop.SingleOrDefaultAsync(m => m.BusStopId == id);
  90 + if (busStop == null)
  91 + {
  92 + return NotFound();
  93 + }
  94 + ViewData["RegionId"] = new SelectList(_context.Region, "RegionId", "RegionId", busStop.RegionId);
  95 + ViewData["RoadId"] = new SelectList(_context.Road, "RoadId", "RoadId", busStop.RoadId);
  96 + ViewData["SettlementId"] = new SelectList(_context.Settlement, "SettlementId", "Name", busStop.SettlementId);
  97 + ViewData["StateCommonId"] = new SelectList(_context.StateCommon, "StateCommonId", "StateCommonId", busStop.StateCommonId);
  98 + ViewData["SurfaceTypeId"] = new SelectList(_context.SurfaceType, "SurfaceTypeId", "SurfaceTypeId", busStop.SurfaceTypeId);
  99 + return View(busStop);
  100 + }
  101 +
  102 + // POST: BusStop/Edit/5
  103 + // To protect from overposting attacks, please enable the specific properties you want to bind to, for
  104 + // more details see http://go.microsoft.com/fwlink/?LinkId=317598.
  105 + [HttpPost]
  106 + [ValidateAntiForgeryToken]
  107 + public async Task<IActionResult> Edit(int id, [Bind("BusStopId,AreaLandAvailability,AreaStopAvailability,BalanceCost,BusStationCardId,CrossSectionNumber,DateActual,LocationLeft,LocationRight,PocketAvailability,Position,RegionId,RepairCertificate,RoadId,SettlementId,StateCommonId,SurfaceTypeId,ToiletAvailability,YearBuild,YearRepair")] BusStop busStop)
  108 + {
  109 + if (id != busStop.BusStopId)
  110 + {
  111 + return NotFound();
  112 + }
  113 +
  114 + if (ModelState.IsValid)
  115 + {
  116 + try
  117 + {
  118 + _context.Update(busStop);
  119 + await _context.SaveChangesAsync();
  120 + }
  121 + catch (DbUpdateConcurrencyException)
  122 + {
  123 + if (!BusStopExists(busStop.BusStopId))
  124 + {
  125 + return NotFound();
  126 + }
  127 + else
  128 + {
  129 + throw;
  130 + }
  131 + }
  132 + return RedirectToAction("Index");
  133 + }
  134 + ViewData["RegionId"] = new SelectList(_context.Region, "RegionId", "RegionId", busStop.RegionId);
  135 + ViewData["RoadId"] = new SelectList(_context.Road, "RoadId", "RoadId", busStop.RoadId);
  136 + ViewData["SettlementId"] = new SelectList(_context.Settlement, "SettlementId", "Name", busStop.SettlementId);
  137 + ViewData["StateCommonId"] = new SelectList(_context.StateCommon, "StateCommonId", "StateCommonId", busStop.StateCommonId);
  138 + ViewData["SurfaceTypeId"] = new SelectList(_context.SurfaceType, "SurfaceTypeId", "SurfaceTypeId", busStop.SurfaceTypeId);
  139 + return View(busStop);
  140 + }
  141 +
  142 + // GET: BusStop/Delete/5
  143 + public async Task<IActionResult> Delete(int? id)
  144 + {
  145 + if (id == null)
  146 + {
  147 + return NotFound();
  148 + }
  149 +
  150 + var busStop = await _context.BusStop.SingleOrDefaultAsync(m => m.BusStopId == id);
  151 + if (busStop == null)
  152 + {
  153 + return NotFound();
  154 + }
  155 +
  156 + return View(busStop);
  157 + }
  158 +
  159 + // POST: BusStop/Delete/5
  160 + [HttpPost, ActionName("Delete")]
  161 + [ValidateAntiForgeryToken]
  162 + public async Task<IActionResult> DeleteConfirmed(int id)
  163 + {
  164 + var busStop = await _context.BusStop.SingleOrDefaultAsync(m => m.BusStopId == id);
  165 + _context.BusStop.Remove(busStop);
  166 + await _context.SaveChangesAsync();
  167 + return RedirectToAction("Index");
  168 + }
  169 +
  170 + private bool BusStopExists(int id)
  171 + {
  172 + return _context.BusStop.Any(e => e.BusStopId == id);
  173 + }
  174 + }
  175 +}
src/Maps/Maps.sln 0 → 100644
  1 +++ a/src/Maps/Maps.sln
  1 +
  2 +Microsoft Visual Studio Solution File, Format Version 12.00
  3 +# Visual Studio 14
  4 +VisualStudioVersion = 14.0.25420.1
  5 +MinimumVisualStudioVersion = 10.0.40219.1
  6 +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Maps", "Maps.xproj", "{C746E65B-78A5-44E0-8A27-A21E016DC9C7}"
  7 +EndProject
  8 +Global
  9 + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  10 + Debug|Any CPU = Debug|Any CPU
  11 + Release|Any CPU = Release|Any CPU
  12 + EndGlobalSection
  13 + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  14 + {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  15 + {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
  16 + {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
  17 + {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Release|Any CPU.Build.0 = Release|Any CPU
  18 + EndGlobalSection
  19 + GlobalSection(SolutionProperties) = preSolution
  20 + HideSolutionNode = FALSE
  21 + EndGlobalSection
  22 +EndGlobal
src/Maps/Maps.xproj 0 → 100644
  1 +++ a/src/Maps/Maps.xproj
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3 + <PropertyGroup>
  4 + <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
  5 + <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
  6 + </PropertyGroup>
  7 + <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
  8 + <PropertyGroup Label="Globals">
  9 + <ProjectGuid>c746e65b-78a5-44e0-8a27-a21e016dc9c7</ProjectGuid>
  10 + <RootNamespace>Maps</RootNamespace>
  11 + <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
  12 + <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
  13 + <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
  14 + </PropertyGroup>
  15 + <PropertyGroup>
  16 + <SchemaVersion>2.0</SchemaVersion>
  17 + </PropertyGroup>
  18 + <ItemGroup>
  19 + <DnxInvisibleContent Include="bower.json" />
  20 + <DnxInvisibleContent Include=".bowerrc" />
  21 + </ItemGroup>
  22 + <Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
  23 +</Project>
src/Maps/Maps.xproj.user 0 → 100644
  1 +++ a/src/Maps/Maps.xproj.user
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3 + <PropertyGroup>
  4 + <ActiveDebugProfile>IIS Express</ActiveDebugProfile>
  5 + </PropertyGroup>
  6 +</Project>
0 \ No newline at end of file 7 \ No newline at end of file
src/Maps/Program.cs 0 → 100644
  1 +++ a/src/Maps/Program.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.IO;
  4 +using System.Linq;
  5 +using System.Threading.Tasks;
  6 +using Microsoft.AspNetCore.Hosting;
  7 +
  8 +namespace Maps
  9 +{
  10 + public class Program
  11 + {
  12 + public static void Main(string[] args)
  13 + {
  14 + var host = new WebHostBuilder()
  15 + .UseKestrel()
  16 + .UseContentRoot(Directory.GetCurrentDirectory())
  17 + .UseStartup<Startup>()
  18 + .Build();
  19 +
  20 + host.Run();
  21 + }
  22 + }
  23 +}
src/Maps/Project_Readme.html 0 → 100644
  1 +++ a/src/Maps/Project_Readme.html
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="utf-8" />
  5 + <title>Welcome to ASP.NET Core</title>
  6 + <style>
  7 + html {
  8 + background: #f1f1f1;
  9 + height: 100%;
  10 + }
  11 +
  12 + body {
  13 + background: #fff;
  14 + color: #505050;
  15 + font: 14px 'Segoe UI', tahoma, arial, helvetica, sans-serif;
  16 + margin: 1%;
  17 + min-height: 95.5%;
  18 + border: 1px solid silver;
  19 + position: relative;
  20 + }
  21 +
  22 + #header {
  23 + padding: 0;
  24 + }
  25 +
  26 + #header h1 {
  27 + font-size: 44px;
  28 + font-weight: normal;
  29 + margin: 0;
  30 + padding: 10px 30px 10px 30px;
  31 + }
  32 +
  33 + #header span {
  34 + margin: 0;
  35 + padding: 0 30px;
  36 + display: block;
  37 + }
  38 +
  39 + #header p {
  40 + font-size: 20px;
  41 + color: #fff;
  42 + background: #007acc;
  43 + padding: 0 30px;
  44 + line-height: 50px;
  45 + margin-top: 25px;
  46 +
  47 + }
  48 +
  49 + #header p a {
  50 + color: #fff;
  51 + text-decoration: underline;
  52 + font-weight: bold;
  53 + padding-right: 35px;
  54 + background: no-repeat right bottom url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAWCAMAAAAcqPc3AAAANlBMVEUAAAAAeswfitI9mthXp91us+KCvuaTx+mjz+2x1u+83PLH4vTR5/ba7Pjj8Pns9fv1+v3////wy3dWAAAAAXRSTlMAQObYZgAAAHxJREFUeNp9kVcSwCAIRMHUYoH7XzaxOxJ9P8oyQ1uIqNPwh3s2aLmIM2YtqrLcQIeQEylhuCeUOlhgve5yoBCfWmlnlgkN4H8ykbpaE7gR03AbUHiwoOxUH9Xp+ubd41p1HF3mBPrfC87BHeTdaB3ceeKL9HGpcvX9zu6+DdMWT9KQPvYAAAAASUVORK5CYII=);
  55 + }
  56 +
  57 + #main {
  58 + padding: 5px 30px;
  59 + clear: both;
  60 + }
  61 +
  62 + .section {
  63 + width: 21.7%;
  64 + float: left;
  65 + margin: 0 0 0 4%;
  66 + }
  67 +
  68 + .section h2 {
  69 + font-size: 13px;
  70 + text-transform: uppercase;
  71 + margin: 0;
  72 + border-bottom: 1px solid silver;
  73 + padding-bottom: 12px;
  74 + margin-bottom: 8px;
  75 + }
  76 +
  77 + .section.first {
  78 + margin-left: 0;
  79 + }
  80 +
  81 + .section.first h2 {
  82 + font-size: 24px;
  83 + text-transform: none;
  84 + margin-bottom: 25px;
  85 + border: none;
  86 + }
  87 +
  88 + .section.first li {
  89 + border-top: 1px solid silver;
  90 + padding: 8px 0;
  91 + }
  92 +
  93 + .section.last {
  94 + margin-right: 0;
  95 + }
  96 +
  97 + ul {
  98 + list-style: none;
  99 + padding: 0;
  100 + margin: 0;
  101 + line-height: 20px;
  102 + }
  103 +
  104 + li {
  105 + padding: 4px 0;
  106 + }
  107 +
  108 + a {
  109 + color: #267cb2;
  110 + text-decoration: none;
  111 + }
  112 +
  113 + a:hover {
  114 + text-decoration: underline;
  115 + }
  116 +
  117 + #footer {
  118 + clear: both;
  119 + padding-top: 50px;
  120 + }
  121 +
  122 + #footer p {
  123 + position: absolute;
  124 + bottom: 10px;
  125 + }
  126 + </style>
  127 +</head>
  128 +<body>
  129 +
  130 + <div id="header">
  131 + <h1>Welcome to ASP.NET Core</h1>
  132 + <span>
  133 + We've made some big updates in this release, so it’s <b>important</b> that you spend
  134 + a few minutes to learn what’s new.
  135 + </span>
  136 + <p>You've created a new ASP.NET Core project. <a href="http://go.microsoft.com/fwlink/?LinkId=518016">Learn what's new</a></p>
  137 + </div>
  138 +
  139 + <div id="main">
  140 + <div class="section first">
  141 + <h2>This application consists of:</h2>
  142 + <ul>
  143 + <li>Sample pages using ASP.NET Core MVC</li>
  144 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=518004">Bower</a> for managing client-side libraries</li>
  145 + <li>Theming using <a href="http://go.microsoft.com/fwlink/?LinkID=398939">Bootstrap</a></li>
  146 + </ul>
  147 + </div>
  148 + <div class="section">
  149 + <h2>How to</h2>
  150 + <ul>
  151 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=398600">Add a Controller and View</a></li>
  152 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=699562">Add an appsetting in config and access it in app.</a></li>
  153 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699315">Manage User Secrets using Secret Manager.</a></li>
  154 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699316">Use logging to log a message.</a></li>
  155 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699317">Add packages using NuGet.</a></li>
  156 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699318">Add client packages using Bower.</a></li>
  157 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699319">Target development, staging or production environment.</a></li>
  158 + </ul>
  159 + </div>
  160 + <div class="section">
  161 + <h2>Overview</h2>
  162 + <ul>
  163 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=518008">Conceptual overview of what is ASP.NET Core</a></li>
  164 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=699320">Fundamentals of ASP.NET Core such as Startup and middleware.</a></li>
  165 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=398602">Working with Data</a></li>
  166 + <li><a href="http://go.microsoft.com/fwlink/?LinkId=398603">Security</a></li>
  167 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=699321">Client side development</a></li>
  168 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=699322">Develop on different platforms</a></li>
  169 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=699323">Read more on the documentation site</a></li>
  170 + </ul>
  171 + </div>
  172 + <div class="section last">
  173 + <h2>Run & Deploy</h2>
  174 + <ul>
  175 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=517851">Run your app</a></li>
  176 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=517853">Run tools such as EF migrations and more</a></li>
  177 + <li><a href="http://go.microsoft.com/fwlink/?LinkID=398609">Publish to Microsoft Azure Web Apps</a></li>
  178 + </ul>
  179 + </div>
  180 +
  181 + <div id="footer">
  182 + <p>We would love to hear your <a href="http://go.microsoft.com/fwlink/?LinkId=518015">feedback</a></p>
  183 + </div>
  184 + </div>
  185 +
  186 +</body>
  187 +</html>
src/Maps/Properties/launchSettings.json 0 → 100644
  1 +++ a/src/Maps/Properties/launchSettings.json
  1 +{
  2 + "iisSettings": {
  3 + "windowsAuthentication": false,
  4 + "anonymousAuthentication": true,
  5 + "iisExpress": {
  6 + "applicationUrl": "http://localhost:50882/",
  7 + "sslPort": 0
  8 + }
  9 + },
  10 + "profiles": {
  11 + "IIS Express": {
  12 + "commandName": "IISExpress",
  13 + "launchBrowser": true,
  14 + "environmentVariables": {
  15 + "ASPNETCORE_ENVIRONMENT": "Development"
  16 + }
  17 + },
  18 + "Maps": {
  19 + "commandName": "Project",
  20 + "launchBrowser": true,
  21 + "launchUrl": "http://localhost:5000",
  22 + "environmentVariables": {
  23 + "ASPNETCORE_ENVIRONMENT": "Development"
  24 + }
  25 + }
  26 + }
  27 +}
0 \ No newline at end of file 28 \ No newline at end of file
src/Maps/Startup.cs 0 → 100644
  1 +++ a/src/Maps/Startup.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.Linq;
  4 +using System.Threading.Tasks;
  5 +using Microsoft.AspNetCore.Builder;
  6 +using Microsoft.AspNetCore.Hosting;
  7 +using Microsoft.Extensions.Configuration;
  8 +using Microsoft.Extensions.DependencyInjection;
  9 +using Microsoft.Extensions.Logging;
  10 +using Microsoft.EntityFrameworkCore;
  11 +using MapsDb;
  12 +using MapsDb.Interfeces;
  13 +using MapsDb.DataService;
  14 +using MapsModels;
  15 +namespace Maps
  16 +{
  17 + public class Startup
  18 + {
  19 + public Startup(IHostingEnvironment env)
  20 + {
  21 + var builder = new ConfigurationBuilder()
  22 + .SetBasePath(env.ContentRootPath)
  23 + .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
  24 + .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
  25 + .AddEnvironmentVariables();
  26 +
  27 + if (env.IsDevelopment())
  28 + {
  29 + // This will push telemetry data through Application Insights pipeline faster, allowing you to view results immediately.
  30 + builder.AddApplicationInsightsSettings(developerMode: true);
  31 + }
  32 + Configuration = builder.Build();
  33 + }
  34 +
  35 + public IConfigurationRoot Configuration { get; }
  36 +
  37 + // This method gets called by the runtime. Use this method to add services to the container.
  38 + public void ConfigureServices(IServiceCollection services)
  39 + {
  40 + services.AddScoped<PostgresDbContext>();
  41 +
  42 + services.AddScoped<IBusStopDs, BusStopDs>();
  43 + // Add framework services.
  44 + services.AddApplicationInsightsTelemetry(Configuration);
  45 +
  46 + services.AddMvc();
  47 +
  48 + }
  49 +
  50 + // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
  51 + public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
  52 + {
  53 +
  54 +
  55 + app.UseDeveloperExceptionPage();
  56 + app.UseBrowserLink();
  57 +
  58 + loggerFactory.AddConsole(Configuration.GetSection("Logging"));
  59 + loggerFactory.AddDebug();
  60 +
  61 + app.UseApplicationInsightsRequestTelemetry();
  62 + app.UseApplicationInsightsExceptionTelemetry();
  63 +
  64 + app.UseStaticFiles();
  65 +
  66 + app.UseMvc(routes =>
  67 + {
  68 + routes.MapRoute(
  69 + name: "default",
  70 + template: "{controller=Home}/{action=Index}/{id?}");
  71 + });
  72 + }
  73 + }
  74 +}
src/Maps/Views/BusStop/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/BusStop/Create.cshtml
  1 +@model Maps.Entities.BusStop
  2 +
  3 +
  4 +
  5 +<form asp-action="Create">
  6 + <div class="form-horizontal">
  7 + <h4>BusStop</h4>
  8 + <hr />
  9 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  10 + <div class="form-group">
  11 + <label asp-for="AreaLandAvailability" class="col-md-2 control-label"></label>
  12 + <div class="col-md-10">
  13 + <input asp-for="AreaLandAvailability" class="form-control" />
  14 + <span asp-validation-for="AreaLandAvailability" class="text-danger" />
  15 + </div>
  16 + </div>
  17 + <div class="form-group">
  18 + <label asp-for="AreaStopAvailability" class="col-md-2 control-label"></label>
  19 + <div class="col-md-10">
  20 + <input asp-for="AreaStopAvailability" class="form-control" />
  21 + <span asp-validation-for="AreaStopAvailability" class="text-danger" />
  22 + </div>
  23 + </div>
  24 + <div class="form-group">
  25 + <label asp-for="BalanceCost" class="col-md-2 control-label"></label>
  26 + <div class="col-md-10">
  27 + <input asp-for="BalanceCost" class="form-control" />
  28 + <span asp-validation-for="BalanceCost" class="text-danger" />
  29 + </div>
  30 + </div>
  31 + <div class="form-group">
  32 + <label asp-for="BusStationCardId" class="col-md-2 control-label"></label>
  33 + <div class="col-md-10">
  34 + <input asp-for="BusStationCardId" class="form-control" />
  35 + <span asp-validation-for="BusStationCardId" class="text-danger" />
  36 + </div>
  37 + </div>
  38 + <div class="form-group">
  39 + <label asp-for="CrossSectionNumber" class="col-md-2 control-label"></label>
  40 + <div class="col-md-10">
  41 + <input asp-for="CrossSectionNumber" class="form-control" />
  42 + <span asp-validation-for="CrossSectionNumber" class="text-danger" />
  43 + </div>
  44 + </div>
  45 + <div class="form-group">
  46 + <label asp-for="DateActual" class="col-md-2 control-label"></label>
  47 + <div class="col-md-10">
  48 + <input asp-for="DateActual" class="form-control" />
  49 + <span asp-validation-for="DateActual" class="text-danger" />
  50 + </div>
  51 + </div>
  52 + <div class="form-group">
  53 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  54 + <div class="col-md-10">
  55 + <input asp-for="LocationLeft" class="form-control" />
  56 + <span asp-validation-for="LocationLeft" class="text-danger" />
  57 + </div>
  58 + </div>
  59 + <div class="form-group">
  60 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  61 + <div class="col-md-10">
  62 + <input asp-for="LocationRight" class="form-control" />
  63 + <span asp-validation-for="LocationRight" class="text-danger" />
  64 + </div>
  65 + </div>
  66 + <div class="form-group">
  67 + <label asp-for="PocketAvailability" class="col-md-2 control-label"></label>
  68 + <div class="col-md-10">
  69 + <input asp-for="PocketAvailability" class="form-control" />
  70 + <span asp-validation-for="PocketAvailability" class="text-danger" />
  71 + </div>
  72 + </div>
  73 + <div class="form-group">
  74 + <label asp-for="Position" class="col-md-2 control-label"></label>
  75 + <div class="col-md-10">
  76 + <input asp-for="Position" class="form-control" />
  77 + <span asp-validation-for="Position" class="text-danger" />
  78 + </div>
  79 + </div>
  80 + <div class="form-group">
  81 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  82 + <div class="col-md-10">
  83 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  84 + </div>
  85 + </div>
  86 + <div class="form-group">
  87 + <label asp-for="RepairCertificate" class="col-md-2 control-label"></label>
  88 + <div class="col-md-10">
  89 + <input asp-for="RepairCertificate" class="form-control" />
  90 + <span asp-validation-for="RepairCertificate" class="text-danger" />
  91 + </div>
  92 + </div>
  93 + <div class="form-group">
  94 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  95 + <div class="col-md-10">
  96 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <label asp-for="SettlementId" class="col-md-2 control-label"></label>
  101 + <div class="col-md-10">
  102 + <select asp-for="SettlementId" class ="form-control" asp-items="ViewBag.SettlementId"></select>
  103 + </div>
  104 + </div>
  105 + <div class="form-group">
  106 + <label asp-for="StateCommonId" class="col-md-2 control-label"></label>
  107 + <div class="col-md-10">
  108 + <select asp-for="StateCommonId" class ="form-control" asp-items="ViewBag.StateCommonId"></select>
  109 + </div>
  110 + </div>
  111 + <div class="form-group">
  112 + <label asp-for="SurfaceTypeId" class="col-md-2 control-label"></label>
  113 + <div class="col-md-10">
  114 + <select asp-for="SurfaceTypeId" class ="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  115 + </div>
  116 + </div>
  117 + <div class="form-group">
  118 + <label asp-for="ToiletAvailability" class="col-md-2 control-label"></label>
  119 + <div class="col-md-10">
  120 + <input asp-for="ToiletAvailability" class="form-control" />
  121 + <span asp-validation-for="ToiletAvailability" class="text-danger" />
  122 + </div>
  123 + </div>
  124 + <div class="form-group">
  125 + <label asp-for="YearBuild" class="col-md-2 control-label"></label>
  126 + <div class="col-md-10">
  127 + <input asp-for="YearBuild" class="form-control" />
  128 + <span asp-validation-for="YearBuild" class="text-danger" />
  129 + </div>
  130 + </div>
  131 + <div class="form-group">
  132 + <label asp-for="YearRepair" class="col-md-2 control-label"></label>
  133 + <div class="col-md-10">
  134 + <input asp-for="YearRepair" class="form-control" />
  135 + <span asp-validation-for="YearRepair" class="text-danger" />
  136 + </div>
  137 + </div>
  138 + <div class="form-group">
  139 + <div class="col-md-offset-2 col-md-10">
  140 + <input type="submit" value="Create" class="btn btn-default" />
  141 + </div>
  142 + </div>
  143 + </div>
  144 +</form>
  145 +
  146 +<div>
  147 + <a asp-action="Index">Back to List</a>
  148 +</div>
src/Maps/Views/BusStop/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/BusStop/Delete.cshtml
  1 +@model Maps.Entities.BusStop
  2 +
  3 +
  4 +
  5 +<h3>Are you sure you want to delete this?</h3>
  6 +<div>
  7 + <h4>BusStop</h4>
  8 + <hr />
  9 + <dl class="dl-horizontal">
  10 + <dt>
  11 + @Html.DisplayNameFor(model => model.AreaLandAvailability)
  12 + </dt>
  13 + <dd>
  14 + @Html.DisplayFor(model => model.AreaLandAvailability)
  15 + </dd>
  16 + <dt>
  17 + @Html.DisplayNameFor(model => model.AreaStopAvailability)
  18 + </dt>
  19 + <dd>
  20 + @Html.DisplayFor(model => model.AreaStopAvailability)
  21 + </dd>
  22 + <dt>
  23 + @Html.DisplayNameFor(model => model.BalanceCost)
  24 + </dt>
  25 + <dd>
  26 + @Html.DisplayFor(model => model.BalanceCost)
  27 + </dd>
  28 + <dt>
  29 + @Html.DisplayNameFor(model => model.BusStationCardId)
  30 + </dt>
  31 + <dd>
  32 + @Html.DisplayFor(model => model.BusStationCardId)
  33 + </dd>
  34 + <dt>
  35 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  36 + </dt>
  37 + <dd>
  38 + @Html.DisplayFor(model => model.CrossSectionNumber)
  39 + </dd>
  40 + <dt>
  41 + @Html.DisplayNameFor(model => model.DateActual)
  42 + </dt>
  43 + <dd>
  44 + @Html.DisplayFor(model => model.DateActual)
  45 + </dd>
  46 + <dt>
  47 + @Html.DisplayNameFor(model => model.LocationLeft)
  48 + </dt>
  49 + <dd>
  50 + @Html.DisplayFor(model => model.LocationLeft)
  51 + </dd>
  52 + <dt>
  53 + @Html.DisplayNameFor(model => model.LocationRight)
  54 + </dt>
  55 + <dd>
  56 + @Html.DisplayFor(model => model.LocationRight)
  57 + </dd>
  58 + <dt>
  59 + @Html.DisplayNameFor(model => model.PocketAvailability)
  60 + </dt>
  61 + <dd>
  62 + @Html.DisplayFor(model => model.PocketAvailability)
  63 + </dd>
  64 + <dt>
  65 + @Html.DisplayNameFor(model => model.Position)
  66 + </dt>
  67 + <dd>
  68 + @Html.DisplayFor(model => model.Position)
  69 + </dd>
  70 + <dt>
  71 + @Html.DisplayNameFor(model => model.RepairCertificate)
  72 + </dt>
  73 + <dd>
  74 + @Html.DisplayFor(model => model.RepairCertificate)
  75 + </dd>
  76 + <dt>
  77 + @Html.DisplayNameFor(model => model.ToiletAvailability)
  78 + </dt>
  79 + <dd>
  80 + @Html.DisplayFor(model => model.ToiletAvailability)
  81 + </dd>
  82 + <dt>
  83 + @Html.DisplayNameFor(model => model.YearBuild)
  84 + </dt>
  85 + <dd>
  86 + @Html.DisplayFor(model => model.YearBuild)
  87 + </dd>
  88 + <dt>
  89 + @Html.DisplayNameFor(model => model.YearRepair)
  90 + </dt>
  91 + <dd>
  92 + @Html.DisplayFor(model => model.YearRepair)
  93 + </dd>
  94 + </dl>
  95 +
  96 + <form asp-action="Delete">
  97 + <div class="form-actions no-color">
  98 + <input type="submit" value="Delete" class="btn btn-default" /> |
  99 + <a asp-action="Index">Back to List</a>
  100 + </div>
  101 + </form>
  102 +</div>
src/Maps/Views/BusStop/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/BusStop/Details.cshtml
  1 +@model Maps.Entities.BusStop
  2 +
  3 +
  4 +<div>
  5 + <h4>BusStop</h4>
  6 + <hr />
  7 + <dl class="dl-horizontal">
  8 + <dt>
  9 + @Html.DisplayNameFor(model => model.AreaLandAvailability)
  10 + </dt>
  11 + <dd>
  12 + @Html.DisplayFor(model => model.AreaLandAvailability)
  13 + </dd>
  14 + <dt>
  15 + @Html.DisplayNameFor(model => model.AreaStopAvailability)
  16 + </dt>
  17 + <dd>
  18 + @Html.DisplayFor(model => model.AreaStopAvailability)
  19 + </dd>
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.BalanceCost)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.BalanceCost)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.BusStationCardId)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.BusStationCardId)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.CrossSectionNumber)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.DateActual)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.DateActual)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.LocationLeft)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.LocationLeft)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.LocationRight)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.LocationRight)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.PocketAvailability)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.PocketAvailability)
  61 + </dd>
  62 + <dt>
  63 + @Html.DisplayNameFor(model => model.Position)
  64 + </dt>
  65 + <dd>
  66 + @Html.DisplayFor(model => model.Position)
  67 + </dd>
  68 + <dt>
  69 + @Html.DisplayNameFor(model => model.RepairCertificate)
  70 + </dt>
  71 + <dd>
  72 + @Html.DisplayFor(model => model.RepairCertificate)
  73 + </dd>
  74 + <dt>
  75 + @Html.DisplayNameFor(model => model.ToiletAvailability)
  76 + </dt>
  77 + <dd>
  78 + @Html.DisplayFor(model => model.ToiletAvailability)
  79 + </dd>
  80 + <dt>
  81 + @Html.DisplayNameFor(model => model.YearBuild)
  82 + </dt>
  83 + <dd>
  84 + @Html.DisplayFor(model => model.YearBuild)
  85 + </dd>
  86 + <dt>
  87 + @Html.DisplayNameFor(model => model.YearRepair)
  88 + </dt>
  89 + <dd>
  90 + @Html.DisplayFor(model => model.YearRepair)
  91 + </dd>
  92 + </dl>
  93 +</div>
  94 +<div>
  95 + <a asp-action="Edit" asp-route-id="@Model.BusStopId">Edit</a> |
  96 + <a asp-action="Index">Back to List</a>
  97 +</div>
0 \ No newline at end of file 98 \ No newline at end of file
src/Maps/Views/BusStop/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/BusStop/Edit.cshtml
  1 +@model Maps.Entities.BusStop
  2 +
  3 +
  4 +<form asp-action="Edit">
  5 + <div class="form-horizontal">
  6 + <h4>BusStop</h4>
  7 + <hr />
  8 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  9 + <input type="hidden" asp-for="BusStopId" />
  10 + <div class="form-group">
  11 + <label asp-for="AreaLandAvailability" class="col-md-2 control-label"></label>
  12 + <div class="col-md-10">
  13 + <input asp-for="AreaLandAvailability" class="form-control" />
  14 + <span asp-validation-for="AreaLandAvailability" class="text-danger" />
  15 + </div>
  16 + </div>
  17 + <div class="form-group">
  18 + <label asp-for="AreaStopAvailability" class="col-md-2 control-label"></label>
  19 + <div class="col-md-10">
  20 + <input asp-for="AreaStopAvailability" class="form-control" />
  21 + <span asp-validation-for="AreaStopAvailability" class="text-danger" />
  22 + </div>
  23 + </div>
  24 + <div class="form-group">
  25 + <label asp-for="BalanceCost" class="col-md-2 control-label"></label>
  26 + <div class="col-md-10">
  27 + <input asp-for="BalanceCost" class="form-control" />
  28 + <span asp-validation-for="BalanceCost" class="text-danger" />
  29 + </div>
  30 + </div>
  31 + <div class="form-group">
  32 + <label asp-for="BusStationCardId" class="col-md-2 control-label"></label>
  33 + <div class="col-md-10">
  34 + <input asp-for="BusStationCardId" class="form-control" />
  35 + <span asp-validation-for="BusStationCardId" class="text-danger" />
  36 + </div>
  37 + </div>
  38 + <div class="form-group">
  39 + <label asp-for="CrossSectionNumber" class="col-md-2 control-label"></label>
  40 + <div class="col-md-10">
  41 + <input asp-for="CrossSectionNumber" class="form-control" />
  42 + <span asp-validation-for="CrossSectionNumber" class="text-danger" />
  43 + </div>
  44 + </div>
  45 + <div class="form-group">
  46 + <label asp-for="DateActual" class="col-md-2 control-label"></label>
  47 + <div class="col-md-10">
  48 + <input asp-for="DateActual" class="form-control" />
  49 + <span asp-validation-for="DateActual" class="text-danger" />
  50 + </div>
  51 + </div>
  52 + <div class="form-group">
  53 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  54 + <div class="col-md-10">
  55 + <input asp-for="LocationLeft" class="form-control" />
  56 + <span asp-validation-for="LocationLeft" class="text-danger" />
  57 + </div>
  58 + </div>
  59 + <div class="form-group">
  60 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  61 + <div class="col-md-10">
  62 + <input asp-for="LocationRight" class="form-control" />
  63 + <span asp-validation-for="LocationRight" class="text-danger" />
  64 + </div>
  65 + </div>
  66 + <div class="form-group">
  67 + <label asp-for="PocketAvailability" class="col-md-2 control-label"></label>
  68 + <div class="col-md-10">
  69 + <input asp-for="PocketAvailability" class="form-control" />
  70 + <span asp-validation-for="PocketAvailability" class="text-danger" />
  71 + </div>
  72 + </div>
  73 + <div class="form-group">
  74 + <label asp-for="Position" class="col-md-2 control-label"></label>
  75 + <div class="col-md-10">
  76 + <input asp-for="Position" class="form-control" />
  77 + <span asp-validation-for="Position" class="text-danger" />
  78 + </div>
  79 + </div>
  80 + <div class="form-group">
  81 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  82 + <div class="col-md-10">
  83 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  84 + <span asp-validation-for="RegionId" class="text-danger" />
  85 + </div>
  86 + </div>
  87 + <div class="form-group">
  88 + <label asp-for="RepairCertificate" class="col-md-2 control-label"></label>
  89 + <div class="col-md-10">
  90 + <input asp-for="RepairCertificate" class="form-control" />
  91 + <span asp-validation-for="RepairCertificate" class="text-danger" />
  92 + </div>
  93 + </div>
  94 + <div class="form-group">
  95 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  96 + <div class="col-md-10">
  97 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  98 + <span asp-validation-for="RoadId" class="text-danger" />
  99 + </div>
  100 + </div>
  101 + <div class="form-group">
  102 + <label asp-for="SettlementId" class="control-label col-md-2"></label>
  103 + <div class="col-md-10">
  104 + <select asp-for="SettlementId" class="form-control" asp-items="ViewBag.SettlementId"></select>
  105 + <span asp-validation-for="SettlementId" class="text-danger" />
  106 + </div>
  107 + </div>
  108 + <div class="form-group">
  109 + <label asp-for="StateCommonId" class="control-label col-md-2"></label>
  110 + <div class="col-md-10">
  111 + <select asp-for="StateCommonId" class="form-control" asp-items="ViewBag.StateCommonId"></select>
  112 + <span asp-validation-for="StateCommonId" class="text-danger" />
  113 + </div>
  114 + </div>
  115 + <div class="form-group">
  116 + <label asp-for="SurfaceTypeId" class="control-label col-md-2"></label>
  117 + <div class="col-md-10">
  118 + <select asp-for="SurfaceTypeId" class="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  119 + <span asp-validation-for="SurfaceTypeId" class="text-danger" />
  120 + </div>
  121 + </div>
  122 + <div class="form-group">
  123 + <label asp-for="ToiletAvailability" class="col-md-2 control-label"></label>
  124 + <div class="col-md-10">
  125 + <input asp-for="ToiletAvailability" class="form-control" />
  126 + <span asp-validation-for="ToiletAvailability" class="text-danger" />
  127 + </div>
  128 + </div>
  129 + <div class="form-group">
  130 + <label asp-for="YearBuild" class="col-md-2 control-label"></label>
  131 + <div class="col-md-10">
  132 + <input asp-for="YearBuild" class="form-control" />
  133 + <span asp-validation-for="YearBuild" class="text-danger" />
  134 + </div>
  135 + </div>
  136 + <div class="form-group">
  137 + <label asp-for="YearRepair" class="col-md-2 control-label"></label>
  138 + <div class="col-md-10">
  139 + <input asp-for="YearRepair" class="form-control" />
  140 + <span asp-validation-for="YearRepair" class="text-danger" />
  141 + </div>
  142 + </div>
  143 + <div class="form-group">
  144 + <div class="col-md-offset-2 col-md-10">
  145 + <input type="submit" value="Save" class="btn btn-default" />
  146 + </div>
  147 + </div>
  148 + </div>
  149 +</form>
  150 +
  151 +<div>
  152 + <a asp-action="Index">Back to List</a>
  153 +</div>
src/Maps/Views/BusStop/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/BusStop/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.BusStop>
  2 +
  3 +
  4 +<p>
  5 + <a asp-action="Create">Create New</a>
  6 +</p>
  7 +<table class="table">
  8 + <thead>
  9 + <tr>
  10 + <th>
  11 + @Html.DisplayNameFor(model => model.AreaLandAvailability)
  12 + </th>
  13 + <th>
  14 + @Html.DisplayNameFor(model => model.AreaStopAvailability)
  15 + </th>
  16 + <th>
  17 + @Html.DisplayNameFor(model => model.BalanceCost)
  18 + </th>
  19 + <th>
  20 + @Html.DisplayNameFor(model => model.BusStationCardId)
  21 + </th>
  22 + <th>
  23 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  24 + </th>
  25 + <th>
  26 + @Html.DisplayNameFor(model => model.DateActual)
  27 + </th>
  28 + <th>
  29 + @Html.DisplayNameFor(model => model.LocationLeft)
  30 + </th>
  31 + <th>
  32 + @Html.DisplayNameFor(model => model.LocationRight)
  33 + </th>
  34 + <th>
  35 + @Html.DisplayNameFor(model => model.PocketAvailability)
  36 + </th>
  37 + <th>
  38 + @Html.DisplayNameFor(model => model.Position)
  39 + </th>
  40 + <th>
  41 + @Html.DisplayNameFor(model => model.RepairCertificate)
  42 + </th>
  43 + <th>
  44 + @Html.DisplayNameFor(model => model.ToiletAvailability)
  45 + </th>
  46 + <th>
  47 + @Html.DisplayNameFor(model => model.YearBuild)
  48 + </th>
  49 + <th>
  50 + @Html.DisplayNameFor(model => model.YearRepair)
  51 + </th>
  52 + <th></th>
  53 + </tr>
  54 + </thead>
  55 + <tbody>
  56 +@foreach (var item in Model) {
  57 + <tr>
  58 + <td>
  59 + @Html.DisplayFor(modelItem => item.AreaLandAvailability)
  60 + </td>
  61 + <td>
  62 + @Html.DisplayFor(modelItem => item.AreaStopAvailability)
  63 + </td>
  64 + <td>
  65 + @Html.DisplayFor(modelItem => item.BalanceCost)
  66 + </td>
  67 + <td>
  68 + @Html.DisplayFor(modelItem => item.BusStationCardId)
  69 + </td>
  70 + <td>
  71 + @Html.DisplayFor(modelItem => item.CrossSectionNumber)
  72 + </td>
  73 + <td>
  74 + @Html.DisplayFor(modelItem => item.DateActual)
  75 + </td>
  76 + <td>
  77 + @Html.DisplayFor(modelItem => item.LocationLeft)
  78 + </td>
  79 + <td>
  80 + @Html.DisplayFor(modelItem => item.LocationRight)
  81 + </td>
  82 + <td>
  83 + @Html.DisplayFor(modelItem => item.PocketAvailability)
  84 + </td>
  85 + <td>
  86 + @Html.DisplayFor(modelItem => item.Position)
  87 + </td>
  88 + <td>
  89 + @Html.DisplayFor(modelItem => item.RepairCertificate)
  90 + </td>
  91 + <td>
  92 + @Html.DisplayFor(modelItem => item.ToiletAvailability)
  93 + </td>
  94 + <td>
  95 + @Html.DisplayFor(modelItem => item.YearBuild)
  96 + </td>
  97 + <td>
  98 + @Html.DisplayFor(modelItem => item.YearRepair)
  99 + </td>
  100 + <td>
  101 + <a asp-action="Edit" asp-route-id="@item.BusStopId">Edit</a> |
  102 + <a asp-action="Details" asp-route-id="@item.BusStopId">Details</a> |
  103 + <a asp-action="Delete" asp-route-id="@item.BusStopId">Delete</a>
  104 + </td>
  105 + </tr>
  106 +}
  107 + </tbody>
  108 +</table>
  109 +
src/Maps/Views/CrossSection/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/CrossSection/Create.cshtml
  1 +@model Maps.Entities.CrossSection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>CrossSection</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Angle" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Angle" class="form-control" />
  25 + <span asp-validation-for="Angle" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Direction" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Direction" class="form-control" />
  32 + <span asp-validation-for="Direction" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="DistanceEdge" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="DistanceEdge" class="form-control" />
  39 + <span asp-validation-for="DistanceEdge" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="LengthSection" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <input asp-for="LengthSection" class="form-control" />
  46 + <span asp-validation-for="LengthSection" class="text-danger" />
  47 + </div>
  48 + </div>
  49 + <div class="form-group">
  50 + <label asp-for="LengthSurface" class="col-md-2 control-label"></label>
  51 + <div class="col-md-10">
  52 + <input asp-for="LengthSurface" class="form-control" />
  53 + <span asp-validation-for="LengthSurface" class="text-danger" />
  54 + </div>
  55 + </div>
  56 + <div class="form-group">
  57 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  58 + <div class="col-md-10">
  59 + <input asp-for="LocationLeft" class="form-control" />
  60 + <span asp-validation-for="LocationLeft" class="text-danger" />
  61 + </div>
  62 + </div>
  63 + <div class="form-group">
  64 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  65 + <div class="col-md-10">
  66 + <input asp-for="LocationRight" class="form-control" />
  67 + <span asp-validation-for="LocationRight" class="text-danger" />
  68 + </div>
  69 + </div>
  70 + <div class="form-group">
  71 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  72 + <div class="col-md-10">
  73 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  74 + </div>
  75 + </div>
  76 + <div class="form-group">
  77 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  78 + <div class="col-md-10">
  79 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  80 + </div>
  81 + </div>
  82 + <div class="form-group">
  83 + <label asp-for="SafetyAvailability" class="col-md-2 control-label"></label>
  84 + <div class="col-md-10">
  85 + <input asp-for="SafetyAvailability" class="form-control" />
  86 + <span asp-validation-for="SafetyAvailability" class="text-danger" />
  87 + </div>
  88 + </div>
  89 + <div class="form-group">
  90 + <label asp-for="StateCommonId" class="col-md-2 control-label"></label>
  91 + <div class="col-md-10">
  92 + <select asp-for="StateCommonId" class ="form-control" asp-items="ViewBag.StateCommonId"></select>
  93 + </div>
  94 + </div>
  95 + <div class="form-group">
  96 + <label asp-for="SurfaceTypeId" class="col-md-2 control-label"></label>
  97 + <div class="col-md-10">
  98 + <select asp-for="SurfaceTypeId" class ="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  99 + </div>
  100 + </div>
  101 + <div class="form-group">
  102 + <label asp-for="TubeAvailability" class="col-md-2 control-label"></label>
  103 + <div class="col-md-10">
  104 + <input asp-for="TubeAvailability" class="form-control" />
  105 + <span asp-validation-for="TubeAvailability" class="text-danger" />
  106 + </div>
  107 + </div>
  108 + <div class="form-group">
  109 + <label asp-for="Width" class="col-md-2 control-label"></label>
  110 + <div class="col-md-10">
  111 + <input asp-for="Width" class="form-control" />
  112 + <span asp-validation-for="Width" class="text-danger" />
  113 + </div>
  114 + </div>
  115 + <div class="form-group">
  116 + <label asp-for="YearBuild" class="col-md-2 control-label"></label>
  117 + <div class="col-md-10">
  118 + <input asp-for="YearBuild" class="form-control" />
  119 + <span asp-validation-for="YearBuild" class="text-danger" />
  120 + </div>
  121 + </div>
  122 + <div class="form-group">
  123 + <label asp-for="YearRepair" class="col-md-2 control-label"></label>
  124 + <div class="col-md-10">
  125 + <input asp-for="YearRepair" class="form-control" />
  126 + <span asp-validation-for="YearRepair" class="text-danger" />
  127 + </div>
  128 + </div>
  129 + <div class="form-group">
  130 + <div class="col-md-offset-2 col-md-10">
  131 + <input type="submit" value="Create" class="btn btn-default" />
  132 + </div>
  133 + </div>
  134 + </div>
  135 +</form>
  136 +
  137 +<div>
  138 + <a asp-action="Index">Back to List</a>
  139 +</div>
  140 +
  141 +</body>
  142 +</html>
src/Maps/Views/CrossSection/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/CrossSection/Delete.cshtml
  1 +@model Maps.Entities.CrossSection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>CrossSection</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Angle)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Angle)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Direction)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Direction)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.DistanceEdge)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.DistanceEdge)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.LengthSection)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.LengthSection)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.LengthSurface)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.LengthSurface)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.LocationLeft)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.LocationLeft)
  56 + </dd>
  57 + <dt>
  58 + @Html.DisplayNameFor(model => model.LocationRight)
  59 + </dt>
  60 + <dd>
  61 + @Html.DisplayFor(model => model.LocationRight)
  62 + </dd>
  63 + <dt>
  64 + @Html.DisplayNameFor(model => model.SafetyAvailability)
  65 + </dt>
  66 + <dd>
  67 + @Html.DisplayFor(model => model.SafetyAvailability)
  68 + </dd>
  69 + <dt>
  70 + @Html.DisplayNameFor(model => model.TubeAvailability)
  71 + </dt>
  72 + <dd>
  73 + @Html.DisplayFor(model => model.TubeAvailability)
  74 + </dd>
  75 + <dt>
  76 + @Html.DisplayNameFor(model => model.Width)
  77 + </dt>
  78 + <dd>
  79 + @Html.DisplayFor(model => model.Width)
  80 + </dd>
  81 + <dt>
  82 + @Html.DisplayNameFor(model => model.YearBuild)
  83 + </dt>
  84 + <dd>
  85 + @Html.DisplayFor(model => model.YearBuild)
  86 + </dd>
  87 + <dt>
  88 + @Html.DisplayNameFor(model => model.YearRepair)
  89 + </dt>
  90 + <dd>
  91 + @Html.DisplayFor(model => model.YearRepair)
  92 + </dd>
  93 + </dl>
  94 +
  95 + <form asp-action="Delete">
  96 + <div class="form-actions no-color">
  97 + <input type="submit" value="Delete" class="btn btn-default" /> |
  98 + <a asp-action="Index">Back to List</a>
  99 + </div>
  100 + </form>
  101 +</div>
  102 +</body>
  103 +</html>
src/Maps/Views/CrossSection/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/CrossSection/Details.cshtml
  1 +@model Maps.Entities.CrossSection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>CrossSection</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Angle)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Angle)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Direction)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Direction)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.DistanceEdge)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.DistanceEdge)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.LengthSection)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.LengthSection)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.LengthSurface)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.LengthSurface)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.LocationLeft)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.LocationLeft)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.LocationRight)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.LocationRight)
  61 + </dd>
  62 + <dt>
  63 + @Html.DisplayNameFor(model => model.SafetyAvailability)
  64 + </dt>
  65 + <dd>
  66 + @Html.DisplayFor(model => model.SafetyAvailability)
  67 + </dd>
  68 + <dt>
  69 + @Html.DisplayNameFor(model => model.TubeAvailability)
  70 + </dt>
  71 + <dd>
  72 + @Html.DisplayFor(model => model.TubeAvailability)
  73 + </dd>
  74 + <dt>
  75 + @Html.DisplayNameFor(model => model.Width)
  76 + </dt>
  77 + <dd>
  78 + @Html.DisplayFor(model => model.Width)
  79 + </dd>
  80 + <dt>
  81 + @Html.DisplayNameFor(model => model.YearBuild)
  82 + </dt>
  83 + <dd>
  84 + @Html.DisplayFor(model => model.YearBuild)
  85 + </dd>
  86 + <dt>
  87 + @Html.DisplayNameFor(model => model.YearRepair)
  88 + </dt>
  89 + <dd>
  90 + @Html.DisplayFor(model => model.YearRepair)
  91 + </dd>
  92 + </dl>
  93 +</div>
  94 +<div>
  95 + <a asp-action="Edit" asp-route-id="@Model.CrossSectionId">Edit</a> |
  96 + <a asp-action="Index">Back to List</a>
  97 +</div>
  98 +</body>
  99 +</html>
src/Maps/Views/CrossSection/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/CrossSection/Edit.cshtml
  1 +@model Maps.Entities.CrossSection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>CrossSection</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="CrossSectionId" />
  22 + <div class="form-group">
  23 + <label asp-for="Angle" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Angle" class="form-control" />
  26 + <span asp-validation-for="Angle" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Direction" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Direction" class="form-control" />
  33 + <span asp-validation-for="Direction" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="DistanceEdge" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="DistanceEdge" class="form-control" />
  40 + <span asp-validation-for="DistanceEdge" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="LengthSection" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="LengthSection" class="form-control" />
  47 + <span asp-validation-for="LengthSection" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="LengthSurface" class="col-md-2 control-label"></label>
  52 + <div class="col-md-10">
  53 + <input asp-for="LengthSurface" class="form-control" />
  54 + <span asp-validation-for="LengthSurface" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  59 + <div class="col-md-10">
  60 + <input asp-for="LocationLeft" class="form-control" />
  61 + <span asp-validation-for="LocationLeft" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="LocationRight" class="form-control" />
  68 + <span asp-validation-for="LocationRight" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  73 + <div class="col-md-10">
  74 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  75 + <span asp-validation-for="RegionId" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  80 + <div class="col-md-10">
  81 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  82 + <span asp-validation-for="RoadId" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="SafetyAvailability" class="col-md-2 control-label"></label>
  87 + <div class="col-md-10">
  88 + <input asp-for="SafetyAvailability" class="form-control" />
  89 + <span asp-validation-for="SafetyAvailability" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="StateCommonId" class="control-label col-md-2"></label>
  94 + <div class="col-md-10">
  95 + <select asp-for="StateCommonId" class="form-control" asp-items="ViewBag.StateCommonId"></select>
  96 + <span asp-validation-for="StateCommonId" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <label asp-for="SurfaceTypeId" class="control-label col-md-2"></label>
  101 + <div class="col-md-10">
  102 + <select asp-for="SurfaceTypeId" class="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  103 + <span asp-validation-for="SurfaceTypeId" class="text-danger" />
  104 + </div>
  105 + </div>
  106 + <div class="form-group">
  107 + <label asp-for="TubeAvailability" class="col-md-2 control-label"></label>
  108 + <div class="col-md-10">
  109 + <input asp-for="TubeAvailability" class="form-control" />
  110 + <span asp-validation-for="TubeAvailability" class="text-danger" />
  111 + </div>
  112 + </div>
  113 + <div class="form-group">
  114 + <label asp-for="Width" class="col-md-2 control-label"></label>
  115 + <div class="col-md-10">
  116 + <input asp-for="Width" class="form-control" />
  117 + <span asp-validation-for="Width" class="text-danger" />
  118 + </div>
  119 + </div>
  120 + <div class="form-group">
  121 + <label asp-for="YearBuild" class="col-md-2 control-label"></label>
  122 + <div class="col-md-10">
  123 + <input asp-for="YearBuild" class="form-control" />
  124 + <span asp-validation-for="YearBuild" class="text-danger" />
  125 + </div>
  126 + </div>
  127 + <div class="form-group">
  128 + <label asp-for="YearRepair" class="col-md-2 control-label"></label>
  129 + <div class="col-md-10">
  130 + <input asp-for="YearRepair" class="form-control" />
  131 + <span asp-validation-for="YearRepair" class="text-danger" />
  132 + </div>
  133 + </div>
  134 + <div class="form-group">
  135 + <div class="col-md-offset-2 col-md-10">
  136 + <input type="submit" value="Save" class="btn btn-default" />
  137 + </div>
  138 + </div>
  139 + </div>
  140 +</form>
  141 +
  142 +<div>
  143 + <a asp-action="Index">Back to List</a>
  144 +</div>
  145 +
  146 +</body>
  147 +</html>
src/Maps/Views/CrossSection/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/CrossSection/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.CrossSection>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Angle)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Direction)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.DistanceEdge)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.LengthSection)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.LengthSurface)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.LocationLeft)
  38 + </th>
  39 + <th>
  40 + @Html.DisplayNameFor(model => model.LocationRight)
  41 + </th>
  42 + <th>
  43 + @Html.DisplayNameFor(model => model.SafetyAvailability)
  44 + </th>
  45 + <th>
  46 + @Html.DisplayNameFor(model => model.TubeAvailability)
  47 + </th>
  48 + <th>
  49 + @Html.DisplayNameFor(model => model.Width)
  50 + </th>
  51 + <th>
  52 + @Html.DisplayNameFor(model => model.YearBuild)
  53 + </th>
  54 + <th>
  55 + @Html.DisplayNameFor(model => model.YearRepair)
  56 + </th>
  57 + <th></th>
  58 + </tr>
  59 + </thead>
  60 + <tbody>
  61 +@foreach (var item in Model) {
  62 + <tr>
  63 + <td>
  64 + @Html.DisplayFor(modelItem => item.Angle)
  65 + </td>
  66 + <td>
  67 + @Html.DisplayFor(modelItem => item.Direction)
  68 + </td>
  69 + <td>
  70 + @Html.DisplayFor(modelItem => item.DistanceEdge)
  71 + </td>
  72 + <td>
  73 + @Html.DisplayFor(modelItem => item.LengthSection)
  74 + </td>
  75 + <td>
  76 + @Html.DisplayFor(modelItem => item.LengthSurface)
  77 + </td>
  78 + <td>
  79 + @Html.DisplayFor(modelItem => item.LocationLeft)
  80 + </td>
  81 + <td>
  82 + @Html.DisplayFor(modelItem => item.LocationRight)
  83 + </td>
  84 + <td>
  85 + @Html.DisplayFor(modelItem => item.SafetyAvailability)
  86 + </td>
  87 + <td>
  88 + @Html.DisplayFor(modelItem => item.TubeAvailability)
  89 + </td>
  90 + <td>
  91 + @Html.DisplayFor(modelItem => item.Width)
  92 + </td>
  93 + <td>
  94 + @Html.DisplayFor(modelItem => item.YearBuild)
  95 + </td>
  96 + <td>
  97 + @Html.DisplayFor(modelItem => item.YearRepair)
  98 + </td>
  99 + <td>
  100 + <a asp-action="Edit" asp-route-id="@item.CrossSectionId">Edit</a> |
  101 + <a asp-action="Details" asp-route-id="@item.CrossSectionId">Details</a> |
  102 + <a asp-action="Delete" asp-route-id="@item.CrossSectionId">Delete</a>
  103 + </td>
  104 + </tr>
  105 +}
  106 + </tbody>
  107 +</table>
  108 +</body>
  109 +</html>
src/Maps/Views/DepartmentAffiliation/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/DepartmentAffiliation/Create.cshtml
  1 +@model Maps.Entities.DepartmentAffiliation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>DepartmentAffiliation</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Name" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Name" class="form-control" />
  25 + <span asp-validation-for="Name" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/DepartmentAffiliation/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/DepartmentAffiliation/Delete.cshtml
  1 +@model Maps.Entities.DepartmentAffiliation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>DepartmentAffiliation</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Name)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/DepartmentAffiliation/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/DepartmentAffiliation/Details.cshtml
  1 +@model Maps.Entities.DepartmentAffiliation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>DepartmentAffiliation</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Name)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Name)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.DepartmentAffiliationId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/DepartmentAffiliation/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/DepartmentAffiliation/Edit.cshtml
  1 +@model Maps.Entities.DepartmentAffiliation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>DepartmentAffiliation</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="DepartmentAffiliationId" />
  22 + <div class="form-group">
  23 + <label asp-for="Name" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Name" class="form-control" />
  26 + <span asp-validation-for="Name" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/DepartmentAffiliation/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/DepartmentAffiliation/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.DepartmentAffiliation>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Name)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.DepartmentAffiliationId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.DepartmentAffiliationId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.DepartmentAffiliationId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/FlowIntensity/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/FlowIntensity/Create.cshtml
  1 +@model Maps.Entities.FlowIntensity
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>FlowIntensity</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="DateAdd" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="DateAdd" class="form-control" />
  32 + <span asp-validation-for="DateAdd" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="End" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="End" class="form-control" />
  39 + <span asp-validation-for="End" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="IntensityBus" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <input asp-for="IntensityBus" class="form-control" />
  46 + <span asp-validation-for="IntensityBus" class="text-danger" />
  47 + </div>
  48 + </div>
  49 + <div class="form-group">
  50 + <label asp-for="IntensityBusCoupled" class="col-md-2 control-label"></label>
  51 + <div class="col-md-10">
  52 + <input asp-for="IntensityBusCoupled" class="form-control" />
  53 + <span asp-validation-for="IntensityBusCoupled" class="text-danger" />
  54 + </div>
  55 + </div>
  56 + <div class="form-group">
  57 + <label asp-for="IntensityCar" class="col-md-2 control-label"></label>
  58 + <div class="col-md-10">
  59 + <input asp-for="IntensityCar" class="form-control" />
  60 + <span asp-validation-for="IntensityCar" class="text-danger" />
  61 + </div>
  62 + </div>
  63 + <div class="form-group">
  64 + <label asp-for="IntensityIncrease" class="col-md-2 control-label"></label>
  65 + <div class="col-md-10">
  66 + <input asp-for="IntensityIncrease" class="form-control" />
  67 + <span asp-validation-for="IntensityIncrease" class="text-danger" />
  68 + </div>
  69 + </div>
  70 + <div class="form-group">
  71 + <label asp-for="IntensityLorryThirty" class="col-md-2 control-label"></label>
  72 + <div class="col-md-10">
  73 + <input asp-for="IntensityLorryThirty" class="form-control" />
  74 + <span asp-validation-for="IntensityLorryThirty" class="text-danger" />
  75 + </div>
  76 + </div>
  77 + <div class="form-group">
  78 + <label asp-for="IntensityLorryTwelve" class="col-md-2 control-label"></label>
  79 + <div class="col-md-10">
  80 + <input asp-for="IntensityLorryTwelve" class="form-control" />
  81 + <span asp-validation-for="IntensityLorryTwelve" class="text-danger" />
  82 + </div>
  83 + </div>
  84 + <div class="form-group">
  85 + <label asp-for="IntensityLorryTwelveTwenty" class="col-md-2 control-label"></label>
  86 + <div class="col-md-10">
  87 + <input asp-for="IntensityLorryTwelveTwenty" class="form-control" />
  88 + <span asp-validation-for="IntensityLorryTwelveTwenty" class="text-danger" />
  89 + </div>
  90 + </div>
  91 + <div class="form-group">
  92 + <label asp-for="IntensityLorryTwentyThirty" class="col-md-2 control-label"></label>
  93 + <div class="col-md-10">
  94 + <input asp-for="IntensityLorryTwentyThirty" class="form-control" />
  95 + <span asp-validation-for="IntensityLorryTwentyThirty" class="text-danger" />
  96 + </div>
  97 + </div>
  98 + <div class="form-group">
  99 + <label asp-for="IntensityMoto" class="col-md-2 control-label"></label>
  100 + <div class="col-md-10">
  101 + <input asp-for="IntensityMoto" class="form-control" />
  102 + <span asp-validation-for="IntensityMoto" class="text-danger" />
  103 + </div>
  104 + </div>
  105 + <div class="form-group">
  106 + <label asp-for="IntensityMotoSidecar" class="col-md-2 control-label"></label>
  107 + <div class="col-md-10">
  108 + <input asp-for="IntensityMotoSidecar" class="form-control" />
  109 + <span asp-validation-for="IntensityMotoSidecar" class="text-danger" />
  110 + </div>
  111 + </div>
  112 + <div class="form-group">
  113 + <label asp-for="IntensityTotal" class="col-md-2 control-label"></label>
  114 + <div class="col-md-10">
  115 + <input asp-for="IntensityTotal" class="form-control" />
  116 + <span asp-validation-for="IntensityTotal" class="text-danger" />
  117 + </div>
  118 + </div>
  119 + <div class="form-group">
  120 + <label asp-for="IntensityTractorOverTen" class="col-md-2 control-label"></label>
  121 + <div class="col-md-10">
  122 + <input asp-for="IntensityTractorOverTen" class="form-control" />
  123 + <span asp-validation-for="IntensityTractorOverTen" class="text-danger" />
  124 + </div>
  125 + </div>
  126 + <div class="form-group">
  127 + <label asp-for="IntensityTractorUnderTen" class="col-md-2 control-label"></label>
  128 + <div class="col-md-10">
  129 + <input asp-for="IntensityTractorUnderTen" class="form-control" />
  130 + <span asp-validation-for="IntensityTractorUnderTen" class="text-danger" />
  131 + </div>
  132 + </div>
  133 + <div class="form-group">
  134 + <label asp-for="IntensityTruckEightFourteen" class="col-md-2 control-label"></label>
  135 + <div class="col-md-10">
  136 + <input asp-for="IntensityTruckEightFourteen" class="form-control" />
  137 + <span asp-validation-for="IntensityTruckEightFourteen" class="text-danger" />
  138 + </div>
  139 + </div>
  140 + <div class="form-group">
  141 + <label asp-for="IntensityTruckFourteen" class="col-md-2 control-label"></label>
  142 + <div class="col-md-10">
  143 + <input asp-for="IntensityTruckFourteen" class="form-control" />
  144 + <span asp-validation-for="IntensityTruckFourteen" class="text-danger" />
  145 + </div>
  146 + </div>
  147 + <div class="form-group">
  148 + <label asp-for="IntensityTruckSixEight" class="col-md-2 control-label"></label>
  149 + <div class="col-md-10">
  150 + <input asp-for="IntensityTruckSixEight" class="form-control" />
  151 + <span asp-validation-for="IntensityTruckSixEight" class="text-danger" />
  152 + </div>
  153 + </div>
  154 + <div class="form-group">
  155 + <label asp-for="IntensityTruckTwo" class="col-md-2 control-label"></label>
  156 + <div class="col-md-10">
  157 + <input asp-for="IntensityTruckTwo" class="form-control" />
  158 + <span asp-validation-for="IntensityTruckTwo" class="text-danger" />
  159 + </div>
  160 + </div>
  161 + <div class="form-group">
  162 + <label asp-for="IntensityTruckTwoSix" class="col-md-2 control-label"></label>
  163 + <div class="col-md-10">
  164 + <input asp-for="IntensityTruckTwoSix" class="form-control" />
  165 + <span asp-validation-for="IntensityTruckTwoSix" class="text-danger" />
  166 + </div>
  167 + </div>
  168 + <div class="form-group">
  169 + <label asp-for="Location" class="col-md-2 control-label"></label>
  170 + <div class="col-md-10">
  171 + <input asp-for="Location" class="form-control" />
  172 + <span asp-validation-for="Location" class="text-danger" />
  173 + </div>
  174 + </div>
  175 + <div class="form-group">
  176 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  177 + <div class="col-md-10">
  178 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  179 + </div>
  180 + </div>
  181 + <div class="form-group">
  182 + <label asp-for="RoadDirectionId" class="col-md-2 control-label"></label>
  183 + <div class="col-md-10">
  184 + <select asp-for="RoadDirectionId" class ="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  185 + </div>
  186 + </div>
  187 + <div class="form-group">
  188 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  189 + <div class="col-md-10">
  190 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  191 + </div>
  192 + </div>
  193 + <div class="form-group">
  194 + <label asp-for="SettlementId" class="col-md-2 control-label"></label>
  195 + <div class="col-md-10">
  196 + <select asp-for="SettlementId" class ="form-control" asp-items="ViewBag.SettlementId"></select>
  197 + </div>
  198 + </div>
  199 + <div class="form-group">
  200 + <div class="col-md-offset-2 col-md-10">
  201 + <input type="submit" value="Create" class="btn btn-default" />
  202 + </div>
  203 + </div>
  204 + </div>
  205 +</form>
  206 +
  207 +<div>
  208 + <a asp-action="Index">Back to List</a>
  209 +</div>
  210 +
  211 +</body>
  212 +</html>
src/Maps/Views/FlowIntensity/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/FlowIntensity/Delete.cshtml
  1 +@model Maps.Entities.FlowIntensity
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>FlowIntensity</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.DateAdd)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.DateAdd)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.End)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.End)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.IntensityBus)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.IntensityBus)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.IntensityBusCoupled)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.IntensityBusCoupled)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.IntensityCar)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.IntensityCar)
  56 + </dd>
  57 + <dt>
  58 + @Html.DisplayNameFor(model => model.IntensityIncrease)
  59 + </dt>
  60 + <dd>
  61 + @Html.DisplayFor(model => model.IntensityIncrease)
  62 + </dd>
  63 + <dt>
  64 + @Html.DisplayNameFor(model => model.IntensityLorryThirty)
  65 + </dt>
  66 + <dd>
  67 + @Html.DisplayFor(model => model.IntensityLorryThirty)
  68 + </dd>
  69 + <dt>
  70 + @Html.DisplayNameFor(model => model.IntensityLorryTwelve)
  71 + </dt>
  72 + <dd>
  73 + @Html.DisplayFor(model => model.IntensityLorryTwelve)
  74 + </dd>
  75 + <dt>
  76 + @Html.DisplayNameFor(model => model.IntensityLorryTwelveTwenty)
  77 + </dt>
  78 + <dd>
  79 + @Html.DisplayFor(model => model.IntensityLorryTwelveTwenty)
  80 + </dd>
  81 + <dt>
  82 + @Html.DisplayNameFor(model => model.IntensityLorryTwentyThirty)
  83 + </dt>
  84 + <dd>
  85 + @Html.DisplayFor(model => model.IntensityLorryTwentyThirty)
  86 + </dd>
  87 + <dt>
  88 + @Html.DisplayNameFor(model => model.IntensityMoto)
  89 + </dt>
  90 + <dd>
  91 + @Html.DisplayFor(model => model.IntensityMoto)
  92 + </dd>
  93 + <dt>
  94 + @Html.DisplayNameFor(model => model.IntensityMotoSidecar)
  95 + </dt>
  96 + <dd>
  97 + @Html.DisplayFor(model => model.IntensityMotoSidecar)
  98 + </dd>
  99 + <dt>
  100 + @Html.DisplayNameFor(model => model.IntensityTotal)
  101 + </dt>
  102 + <dd>
  103 + @Html.DisplayFor(model => model.IntensityTotal)
  104 + </dd>
  105 + <dt>
  106 + @Html.DisplayNameFor(model => model.IntensityTractorOverTen)
  107 + </dt>
  108 + <dd>
  109 + @Html.DisplayFor(model => model.IntensityTractorOverTen)
  110 + </dd>
  111 + <dt>
  112 + @Html.DisplayNameFor(model => model.IntensityTractorUnderTen)
  113 + </dt>
  114 + <dd>
  115 + @Html.DisplayFor(model => model.IntensityTractorUnderTen)
  116 + </dd>
  117 + <dt>
  118 + @Html.DisplayNameFor(model => model.IntensityTruckEightFourteen)
  119 + </dt>
  120 + <dd>
  121 + @Html.DisplayFor(model => model.IntensityTruckEightFourteen)
  122 + </dd>
  123 + <dt>
  124 + @Html.DisplayNameFor(model => model.IntensityTruckFourteen)
  125 + </dt>
  126 + <dd>
  127 + @Html.DisplayFor(model => model.IntensityTruckFourteen)
  128 + </dd>
  129 + <dt>
  130 + @Html.DisplayNameFor(model => model.IntensityTruckSixEight)
  131 + </dt>
  132 + <dd>
  133 + @Html.DisplayFor(model => model.IntensityTruckSixEight)
  134 + </dd>
  135 + <dt>
  136 + @Html.DisplayNameFor(model => model.IntensityTruckTwo)
  137 + </dt>
  138 + <dd>
  139 + @Html.DisplayFor(model => model.IntensityTruckTwo)
  140 + </dd>
  141 + <dt>
  142 + @Html.DisplayNameFor(model => model.IntensityTruckTwoSix)
  143 + </dt>
  144 + <dd>
  145 + @Html.DisplayFor(model => model.IntensityTruckTwoSix)
  146 + </dd>
  147 + <dt>
  148 + @Html.DisplayNameFor(model => model.Location)
  149 + </dt>
  150 + <dd>
  151 + @Html.DisplayFor(model => model.Location)
  152 + </dd>
  153 + </dl>
  154 +
  155 + <form asp-action="Delete">
  156 + <div class="form-actions no-color">
  157 + <input type="submit" value="Delete" class="btn btn-default" /> |
  158 + <a asp-action="Index">Back to List</a>
  159 + </div>
  160 + </form>
  161 +</div>
  162 +</body>
  163 +</html>
src/Maps/Views/FlowIntensity/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/FlowIntensity/Details.cshtml
  1 +@model Maps.Entities.FlowIntensity
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>FlowIntensity</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.DateAdd)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.DateAdd)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.End)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.End)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.IntensityBus)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.IntensityBus)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.IntensityBusCoupled)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.IntensityBusCoupled)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.IntensityCar)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.IntensityCar)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.IntensityIncrease)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.IntensityIncrease)
  61 + </dd>
  62 + <dt>
  63 + @Html.DisplayNameFor(model => model.IntensityLorryThirty)
  64 + </dt>
  65 + <dd>
  66 + @Html.DisplayFor(model => model.IntensityLorryThirty)
  67 + </dd>
  68 + <dt>
  69 + @Html.DisplayNameFor(model => model.IntensityLorryTwelve)
  70 + </dt>
  71 + <dd>
  72 + @Html.DisplayFor(model => model.IntensityLorryTwelve)
  73 + </dd>
  74 + <dt>
  75 + @Html.DisplayNameFor(model => model.IntensityLorryTwelveTwenty)
  76 + </dt>
  77 + <dd>
  78 + @Html.DisplayFor(model => model.IntensityLorryTwelveTwenty)
  79 + </dd>
  80 + <dt>
  81 + @Html.DisplayNameFor(model => model.IntensityLorryTwentyThirty)
  82 + </dt>
  83 + <dd>
  84 + @Html.DisplayFor(model => model.IntensityLorryTwentyThirty)
  85 + </dd>
  86 + <dt>
  87 + @Html.DisplayNameFor(model => model.IntensityMoto)
  88 + </dt>
  89 + <dd>
  90 + @Html.DisplayFor(model => model.IntensityMoto)
  91 + </dd>
  92 + <dt>
  93 + @Html.DisplayNameFor(model => model.IntensityMotoSidecar)
  94 + </dt>
  95 + <dd>
  96 + @Html.DisplayFor(model => model.IntensityMotoSidecar)
  97 + </dd>
  98 + <dt>
  99 + @Html.DisplayNameFor(model => model.IntensityTotal)
  100 + </dt>
  101 + <dd>
  102 + @Html.DisplayFor(model => model.IntensityTotal)
  103 + </dd>
  104 + <dt>
  105 + @Html.DisplayNameFor(model => model.IntensityTractorOverTen)
  106 + </dt>
  107 + <dd>
  108 + @Html.DisplayFor(model => model.IntensityTractorOverTen)
  109 + </dd>
  110 + <dt>
  111 + @Html.DisplayNameFor(model => model.IntensityTractorUnderTen)
  112 + </dt>
  113 + <dd>
  114 + @Html.DisplayFor(model => model.IntensityTractorUnderTen)
  115 + </dd>
  116 + <dt>
  117 + @Html.DisplayNameFor(model => model.IntensityTruckEightFourteen)
  118 + </dt>
  119 + <dd>
  120 + @Html.DisplayFor(model => model.IntensityTruckEightFourteen)
  121 + </dd>
  122 + <dt>
  123 + @Html.DisplayNameFor(model => model.IntensityTruckFourteen)
  124 + </dt>
  125 + <dd>
  126 + @Html.DisplayFor(model => model.IntensityTruckFourteen)
  127 + </dd>
  128 + <dt>
  129 + @Html.DisplayNameFor(model => model.IntensityTruckSixEight)
  130 + </dt>
  131 + <dd>
  132 + @Html.DisplayFor(model => model.IntensityTruckSixEight)
  133 + </dd>
  134 + <dt>
  135 + @Html.DisplayNameFor(model => model.IntensityTruckTwo)
  136 + </dt>
  137 + <dd>
  138 + @Html.DisplayFor(model => model.IntensityTruckTwo)
  139 + </dd>
  140 + <dt>
  141 + @Html.DisplayNameFor(model => model.IntensityTruckTwoSix)
  142 + </dt>
  143 + <dd>
  144 + @Html.DisplayFor(model => model.IntensityTruckTwoSix)
  145 + </dd>
  146 + <dt>
  147 + @Html.DisplayNameFor(model => model.Location)
  148 + </dt>
  149 + <dd>
  150 + @Html.DisplayFor(model => model.Location)
  151 + </dd>
  152 + </dl>
  153 +</div>
  154 +<div>
  155 + <a asp-action="Edit" asp-route-id="@Model.FlowIntensityId">Edit</a> |
  156 + <a asp-action="Index">Back to List</a>
  157 +</div>
  158 +</body>
  159 +</html>
src/Maps/Views/FlowIntensity/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/FlowIntensity/Edit.cshtml
  1 +@model Maps.Entities.FlowIntensity
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>FlowIntensity</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="FlowIntensityId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="DateAdd" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="DateAdd" class="form-control" />
  33 + <span asp-validation-for="DateAdd" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="End" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="End" class="form-control" />
  40 + <span asp-validation-for="End" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="IntensityBus" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="IntensityBus" class="form-control" />
  47 + <span asp-validation-for="IntensityBus" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="IntensityBusCoupled" class="col-md-2 control-label"></label>
  52 + <div class="col-md-10">
  53 + <input asp-for="IntensityBusCoupled" class="form-control" />
  54 + <span asp-validation-for="IntensityBusCoupled" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="IntensityCar" class="col-md-2 control-label"></label>
  59 + <div class="col-md-10">
  60 + <input asp-for="IntensityCar" class="form-control" />
  61 + <span asp-validation-for="IntensityCar" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="IntensityIncrease" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="IntensityIncrease" class="form-control" />
  68 + <span asp-validation-for="IntensityIncrease" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="IntensityLorryThirty" class="col-md-2 control-label"></label>
  73 + <div class="col-md-10">
  74 + <input asp-for="IntensityLorryThirty" class="form-control" />
  75 + <span asp-validation-for="IntensityLorryThirty" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="IntensityLorryTwelve" class="col-md-2 control-label"></label>
  80 + <div class="col-md-10">
  81 + <input asp-for="IntensityLorryTwelve" class="form-control" />
  82 + <span asp-validation-for="IntensityLorryTwelve" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="IntensityLorryTwelveTwenty" class="col-md-2 control-label"></label>
  87 + <div class="col-md-10">
  88 + <input asp-for="IntensityLorryTwelveTwenty" class="form-control" />
  89 + <span asp-validation-for="IntensityLorryTwelveTwenty" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="IntensityLorryTwentyThirty" class="col-md-2 control-label"></label>
  94 + <div class="col-md-10">
  95 + <input asp-for="IntensityLorryTwentyThirty" class="form-control" />
  96 + <span asp-validation-for="IntensityLorryTwentyThirty" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <label asp-for="IntensityMoto" class="col-md-2 control-label"></label>
  101 + <div class="col-md-10">
  102 + <input asp-for="IntensityMoto" class="form-control" />
  103 + <span asp-validation-for="IntensityMoto" class="text-danger" />
  104 + </div>
  105 + </div>
  106 + <div class="form-group">
  107 + <label asp-for="IntensityMotoSidecar" class="col-md-2 control-label"></label>
  108 + <div class="col-md-10">
  109 + <input asp-for="IntensityMotoSidecar" class="form-control" />
  110 + <span asp-validation-for="IntensityMotoSidecar" class="text-danger" />
  111 + </div>
  112 + </div>
  113 + <div class="form-group">
  114 + <label asp-for="IntensityTotal" class="col-md-2 control-label"></label>
  115 + <div class="col-md-10">
  116 + <input asp-for="IntensityTotal" class="form-control" />
  117 + <span asp-validation-for="IntensityTotal" class="text-danger" />
  118 + </div>
  119 + </div>
  120 + <div class="form-group">
  121 + <label asp-for="IntensityTractorOverTen" class="col-md-2 control-label"></label>
  122 + <div class="col-md-10">
  123 + <input asp-for="IntensityTractorOverTen" class="form-control" />
  124 + <span asp-validation-for="IntensityTractorOverTen" class="text-danger" />
  125 + </div>
  126 + </div>
  127 + <div class="form-group">
  128 + <label asp-for="IntensityTractorUnderTen" class="col-md-2 control-label"></label>
  129 + <div class="col-md-10">
  130 + <input asp-for="IntensityTractorUnderTen" class="form-control" />
  131 + <span asp-validation-for="IntensityTractorUnderTen" class="text-danger" />
  132 + </div>
  133 + </div>
  134 + <div class="form-group">
  135 + <label asp-for="IntensityTruckEightFourteen" class="col-md-2 control-label"></label>
  136 + <div class="col-md-10">
  137 + <input asp-for="IntensityTruckEightFourteen" class="form-control" />
  138 + <span asp-validation-for="IntensityTruckEightFourteen" class="text-danger" />
  139 + </div>
  140 + </div>
  141 + <div class="form-group">
  142 + <label asp-for="IntensityTruckFourteen" class="col-md-2 control-label"></label>
  143 + <div class="col-md-10">
  144 + <input asp-for="IntensityTruckFourteen" class="form-control" />
  145 + <span asp-validation-for="IntensityTruckFourteen" class="text-danger" />
  146 + </div>
  147 + </div>
  148 + <div class="form-group">
  149 + <label asp-for="IntensityTruckSixEight" class="col-md-2 control-label"></label>
  150 + <div class="col-md-10">
  151 + <input asp-for="IntensityTruckSixEight" class="form-control" />
  152 + <span asp-validation-for="IntensityTruckSixEight" class="text-danger" />
  153 + </div>
  154 + </div>
  155 + <div class="form-group">
  156 + <label asp-for="IntensityTruckTwo" class="col-md-2 control-label"></label>
  157 + <div class="col-md-10">
  158 + <input asp-for="IntensityTruckTwo" class="form-control" />
  159 + <span asp-validation-for="IntensityTruckTwo" class="text-danger" />
  160 + </div>
  161 + </div>
  162 + <div class="form-group">
  163 + <label asp-for="IntensityTruckTwoSix" class="col-md-2 control-label"></label>
  164 + <div class="col-md-10">
  165 + <input asp-for="IntensityTruckTwoSix" class="form-control" />
  166 + <span asp-validation-for="IntensityTruckTwoSix" class="text-danger" />
  167 + </div>
  168 + </div>
  169 + <div class="form-group">
  170 + <label asp-for="Location" class="col-md-2 control-label"></label>
  171 + <div class="col-md-10">
  172 + <input asp-for="Location" class="form-control" />
  173 + <span asp-validation-for="Location" class="text-danger" />
  174 + </div>
  175 + </div>
  176 + <div class="form-group">
  177 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  178 + <div class="col-md-10">
  179 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  180 + <span asp-validation-for="RegionId" class="text-danger" />
  181 + </div>
  182 + </div>
  183 + <div class="form-group">
  184 + <label asp-for="RoadDirectionId" class="control-label col-md-2"></label>
  185 + <div class="col-md-10">
  186 + <select asp-for="RoadDirectionId" class="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  187 + <span asp-validation-for="RoadDirectionId" class="text-danger" />
  188 + </div>
  189 + </div>
  190 + <div class="form-group">
  191 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  192 + <div class="col-md-10">
  193 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  194 + <span asp-validation-for="RoadId" class="text-danger" />
  195 + </div>
  196 + </div>
  197 + <div class="form-group">
  198 + <label asp-for="SettlementId" class="control-label col-md-2"></label>
  199 + <div class="col-md-10">
  200 + <select asp-for="SettlementId" class="form-control" asp-items="ViewBag.SettlementId"></select>
  201 + <span asp-validation-for="SettlementId" class="text-danger" />
  202 + </div>
  203 + </div>
  204 + <div class="form-group">
  205 + <div class="col-md-offset-2 col-md-10">
  206 + <input type="submit" value="Save" class="btn btn-default" />
  207 + </div>
  208 + </div>
  209 + </div>
  210 +</form>
  211 +
  212 +<div>
  213 + <a asp-action="Index">Back to List</a>
  214 +</div>
  215 +
  216 +</body>
  217 +</html>
src/Maps/Views/FlowIntensity/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/FlowIntensity/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.FlowIntensity>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.DateAdd)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.End)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.IntensityBus)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.IntensityBusCoupled)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.IntensityCar)
  38 + </th>
  39 + <th>
  40 + @Html.DisplayNameFor(model => model.IntensityIncrease)
  41 + </th>
  42 + <th>
  43 + @Html.DisplayNameFor(model => model.IntensityLorryThirty)
  44 + </th>
  45 + <th>
  46 + @Html.DisplayNameFor(model => model.IntensityLorryTwelve)
  47 + </th>
  48 + <th>
  49 + @Html.DisplayNameFor(model => model.IntensityLorryTwelveTwenty)
  50 + </th>
  51 + <th>
  52 + @Html.DisplayNameFor(model => model.IntensityLorryTwentyThirty)
  53 + </th>
  54 + <th>
  55 + @Html.DisplayNameFor(model => model.IntensityMoto)
  56 + </th>
  57 + <th>
  58 + @Html.DisplayNameFor(model => model.IntensityMotoSidecar)
  59 + </th>
  60 + <th>
  61 + @Html.DisplayNameFor(model => model.IntensityTotal)
  62 + </th>
  63 + <th>
  64 + @Html.DisplayNameFor(model => model.IntensityTractorOverTen)
  65 + </th>
  66 + <th>
  67 + @Html.DisplayNameFor(model => model.IntensityTractorUnderTen)
  68 + </th>
  69 + <th>
  70 + @Html.DisplayNameFor(model => model.IntensityTruckEightFourteen)
  71 + </th>
  72 + <th>
  73 + @Html.DisplayNameFor(model => model.IntensityTruckFourteen)
  74 + </th>
  75 + <th>
  76 + @Html.DisplayNameFor(model => model.IntensityTruckSixEight)
  77 + </th>
  78 + <th>
  79 + @Html.DisplayNameFor(model => model.IntensityTruckTwo)
  80 + </th>
  81 + <th>
  82 + @Html.DisplayNameFor(model => model.IntensityTruckTwoSix)
  83 + </th>
  84 + <th>
  85 + @Html.DisplayNameFor(model => model.Location)
  86 + </th>
  87 + <th></th>
  88 + </tr>
  89 + </thead>
  90 + <tbody>
  91 +@foreach (var item in Model) {
  92 + <tr>
  93 + <td>
  94 + @Html.DisplayFor(modelItem => item.Begin)
  95 + </td>
  96 + <td>
  97 + @Html.DisplayFor(modelItem => item.DateAdd)
  98 + </td>
  99 + <td>
  100 + @Html.DisplayFor(modelItem => item.End)
  101 + </td>
  102 + <td>
  103 + @Html.DisplayFor(modelItem => item.IntensityBus)
  104 + </td>
  105 + <td>
  106 + @Html.DisplayFor(modelItem => item.IntensityBusCoupled)
  107 + </td>
  108 + <td>
  109 + @Html.DisplayFor(modelItem => item.IntensityCar)
  110 + </td>
  111 + <td>
  112 + @Html.DisplayFor(modelItem => item.IntensityIncrease)
  113 + </td>
  114 + <td>
  115 + @Html.DisplayFor(modelItem => item.IntensityLorryThirty)
  116 + </td>
  117 + <td>
  118 + @Html.DisplayFor(modelItem => item.IntensityLorryTwelve)
  119 + </td>
  120 + <td>
  121 + @Html.DisplayFor(modelItem => item.IntensityLorryTwelveTwenty)
  122 + </td>
  123 + <td>
  124 + @Html.DisplayFor(modelItem => item.IntensityLorryTwentyThirty)
  125 + </td>
  126 + <td>
  127 + @Html.DisplayFor(modelItem => item.IntensityMoto)
  128 + </td>
  129 + <td>
  130 + @Html.DisplayFor(modelItem => item.IntensityMotoSidecar)
  131 + </td>
  132 + <td>
  133 + @Html.DisplayFor(modelItem => item.IntensityTotal)
  134 + </td>
  135 + <td>
  136 + @Html.DisplayFor(modelItem => item.IntensityTractorOverTen)
  137 + </td>
  138 + <td>
  139 + @Html.DisplayFor(modelItem => item.IntensityTractorUnderTen)
  140 + </td>
  141 + <td>
  142 + @Html.DisplayFor(modelItem => item.IntensityTruckEightFourteen)
  143 + </td>
  144 + <td>
  145 + @Html.DisplayFor(modelItem => item.IntensityTruckFourteen)
  146 + </td>
  147 + <td>
  148 + @Html.DisplayFor(modelItem => item.IntensityTruckSixEight)
  149 + </td>
  150 + <td>
  151 + @Html.DisplayFor(modelItem => item.IntensityTruckTwo)
  152 + </td>
  153 + <td>
  154 + @Html.DisplayFor(modelItem => item.IntensityTruckTwoSix)
  155 + </td>
  156 + <td>
  157 + @Html.DisplayFor(modelItem => item.Location)
  158 + </td>
  159 + <td>
  160 + <a asp-action="Edit" asp-route-id="@item.FlowIntensityId">Edit</a> |
  161 + <a asp-action="Details" asp-route-id="@item.FlowIntensityId">Details</a> |
  162 + <a asp-action="Delete" asp-route-id="@item.FlowIntensityId">Delete</a>
  163 + </td>
  164 + </tr>
  165 +}
  166 + </tbody>
  167 +</table>
  168 +</body>
  169 +</html>
src/Maps/Views/Organization/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Organization/Create.cshtml
  1 +@model Maps.Entities.Organization
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>Organization</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="DateAdd" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="DateAdd" class="form-control" />
  25 + <span asp-validation-for="DateAdd" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Name" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Name" class="form-control" />
  32 + <span asp-validation-for="Name" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <div class="col-md-offset-2 col-md-10">
  37 + <input type="submit" value="Create" class="btn btn-default" />
  38 + </div>
  39 + </div>
  40 + </div>
  41 +</form>
  42 +
  43 +<div>
  44 + <a asp-action="Index">Back to List</a>
  45 +</div>
  46 +
  47 +</body>
  48 +</html>
src/Maps/Views/Organization/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Organization/Delete.cshtml
  1 +@model Maps.Entities.Organization
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>Organization</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.DateAdd)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.DateAdd)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Name)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Name)
  32 + </dd>
  33 + </dl>
  34 +
  35 + <form asp-action="Delete">
  36 + <div class="form-actions no-color">
  37 + <input type="submit" value="Delete" class="btn btn-default" /> |
  38 + <a asp-action="Index">Back to List</a>
  39 + </div>
  40 + </form>
  41 +</div>
  42 +</body>
  43 +</html>
src/Maps/Views/Organization/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Organization/Details.cshtml
  1 +@model Maps.Entities.Organization
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>Organization</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.DateAdd)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.DateAdd)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Name)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Name)
  31 + </dd>
  32 + </dl>
  33 +</div>
  34 +<div>
  35 + <a asp-action="Edit" asp-route-id="@Model.OrganizationId">Edit</a> |
  36 + <a asp-action="Index">Back to List</a>
  37 +</div>
  38 +</body>
  39 +</html>
src/Maps/Views/Organization/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Organization/Edit.cshtml
  1 +@model Maps.Entities.Organization
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>Organization</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="OrganizationId" />
  22 + <div class="form-group">
  23 + <label asp-for="DateAdd" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="DateAdd" class="form-control" />
  26 + <span asp-validation-for="DateAdd" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Name" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Name" class="form-control" />
  33 + <span asp-validation-for="Name" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <div class="col-md-offset-2 col-md-10">
  38 + <input type="submit" value="Save" class="btn btn-default" />
  39 + </div>
  40 + </div>
  41 + </div>
  42 +</form>
  43 +
  44 +<div>
  45 + <a asp-action="Index">Back to List</a>
  46 +</div>
  47 +
  48 +</body>
  49 +</html>
src/Maps/Views/Organization/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Organization/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.Organization>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.DateAdd)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Name)
  26 + </th>
  27 + <th></th>
  28 + </tr>
  29 + </thead>
  30 + <tbody>
  31 +@foreach (var item in Model) {
  32 + <tr>
  33 + <td>
  34 + @Html.DisplayFor(modelItem => item.DateAdd)
  35 + </td>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Name)
  38 + </td>
  39 + <td>
  40 + <a asp-action="Edit" asp-route-id="@item.OrganizationId">Edit</a> |
  41 + <a asp-action="Details" asp-route-id="@item.OrganizationId">Details</a> |
  42 + <a asp-action="Delete" asp-route-id="@item.OrganizationId">Delete</a>
  43 + </td>
  44 + </tr>
  45 +}
  46 + </tbody>
  47 +</table>
  48 +</body>
  49 +</html>
src/Maps/Views/Region/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Region/Create.cshtml
  1 +@model Maps.Entities.Region
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>Region</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Index" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Index" class="form-control" />
  25 + <span asp-validation-for="Index" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Name" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Name" class="form-control" />
  32 + <span asp-validation-for="Name" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <div class="col-md-offset-2 col-md-10">
  37 + <input type="submit" value="Create" class="btn btn-default" />
  38 + </div>
  39 + </div>
  40 + </div>
  41 +</form>
  42 +
  43 +<div>
  44 + <a asp-action="Index">Back to List</a>
  45 +</div>
  46 +
  47 +</body>
  48 +</html>
src/Maps/Views/Region/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Region/Delete.cshtml
  1 +@model Maps.Entities.Region
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>Region</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Index)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Index)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Name)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Name)
  32 + </dd>
  33 + </dl>
  34 +
  35 + <form asp-action="Delete">
  36 + <div class="form-actions no-color">
  37 + <input type="submit" value="Delete" class="btn btn-default" /> |
  38 + <a asp-action="Index">Back to List</a>
  39 + </div>
  40 + </form>
  41 +</div>
  42 +</body>
  43 +</html>
src/Maps/Views/Region/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Region/Details.cshtml
  1 +@model Maps.Entities.Region
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>Region</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Index)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Index)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Name)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Name)
  31 + </dd>
  32 + </dl>
  33 +</div>
  34 +<div>
  35 + <a asp-action="Edit" asp-route-id="@Model.RegionId">Edit</a> |
  36 + <a asp-action="Index">Back to List</a>
  37 +</div>
  38 +</body>
  39 +</html>
src/Maps/Views/Region/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Region/Edit.cshtml
  1 +@model Maps.Entities.Region
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>Region</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RegionId" />
  22 + <div class="form-group">
  23 + <label asp-for="Index" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Index" class="form-control" />
  26 + <span asp-validation-for="Index" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Name" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Name" class="form-control" />
  33 + <span asp-validation-for="Name" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <div class="col-md-offset-2 col-md-10">
  38 + <input type="submit" value="Save" class="btn btn-default" />
  39 + </div>
  40 + </div>
  41 + </div>
  42 +</form>
  43 +
  44 +<div>
  45 + <a asp-action="Index">Back to List</a>
  46 +</div>
  47 +
  48 +</body>
  49 +</html>
src/Maps/Views/Region/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Region/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.Region>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Index)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Name)
  26 + </th>
  27 + <th></th>
  28 + </tr>
  29 + </thead>
  30 + <tbody>
  31 +@foreach (var item in Model) {
  32 + <tr>
  33 + <td>
  34 + @Html.DisplayFor(modelItem => item.Index)
  35 + </td>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Name)
  38 + </td>
  39 + <td>
  40 + <a asp-action="Edit" asp-route-id="@item.RegionId">Edit</a> |
  41 + <a asp-action="Details" asp-route-id="@item.RegionId">Details</a> |
  42 + <a asp-action="Delete" asp-route-id="@item.RegionId">Delete</a>
  43 + </td>
  44 + </tr>
  45 +}
  46 + </tbody>
  47 +</table>
  48 +</body>
  49 +</html>
src/Maps/Views/Road/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Road/Create.cshtml
  1 +@model Maps.Entities.Road
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>Road</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="AcceptTransferDoc" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="AcceptTransferDoc" class="form-control" />
  25 + <span asp-validation-for="AcceptTransferDoc" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="AcceptanceDoc" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="AcceptanceDoc" class="form-control" />
  32 + <span asp-validation-for="AcceptanceDoc" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="AuthorityAct" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="AuthorityAct" class="form-control" />
  39 + <span asp-validation-for="AuthorityAct" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="EconomicValue" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <input asp-for="EconomicValue" class="form-control" />
  46 + <span asp-validation-for="EconomicValue" class="text-danger" />
  47 + </div>
  48 + </div>
  49 + <div class="form-group">
  50 + <label asp-for="HistoricalBackground" class="col-md-2 control-label"></label>
  51 + <div class="col-md-10">
  52 + <input asp-for="HistoricalBackground" class="form-control" />
  53 + <span asp-validation-for="HistoricalBackground" class="text-danger" />
  54 + </div>
  55 + </div>
  56 + <div class="form-group">
  57 + <label asp-for="Index" class="col-md-2 control-label"></label>
  58 + <div class="col-md-10">
  59 + <input asp-for="Index" class="form-control" />
  60 + <span asp-validation-for="Index" class="text-danger" />
  61 + </div>
  62 + </div>
  63 + <div class="form-group">
  64 + <label asp-for="LawDoc" class="col-md-2 control-label"></label>
  65 + <div class="col-md-10">
  66 + <input asp-for="LawDoc" class="form-control" />
  67 + <span asp-validation-for="LawDoc" class="text-danger" />
  68 + </div>
  69 + </div>
  70 + <div class="form-group">
  71 + <label asp-for="Length" class="col-md-2 control-label"></label>
  72 + <div class="col-md-10">
  73 + <input asp-for="Length" class="form-control" />
  74 + <span asp-validation-for="Length" class="text-danger" />
  75 + </div>
  76 + </div>
  77 + <div class="form-group">
  78 + <label asp-for="Name" class="col-md-2 control-label"></label>
  79 + <div class="col-md-10">
  80 + <input asp-for="Name" class="form-control" />
  81 + <span asp-validation-for="Name" class="text-danger" />
  82 + </div>
  83 + </div>
  84 + <div class="form-group">
  85 + <label asp-for="RoadTypeId" class="col-md-2 control-label"></label>
  86 + <div class="col-md-10">
  87 + <select asp-for="RoadTypeId" class ="form-control" asp-items="ViewBag.RoadTypeId"></select>
  88 + </div>
  89 + </div>
  90 + <div class="form-group">
  91 + <label asp-for="Value" class="col-md-2 control-label"></label>
  92 + <div class="col-md-10">
  93 + <input asp-for="Value" class="form-control" />
  94 + <span asp-validation-for="Value" class="text-danger" />
  95 + </div>
  96 + </div>
  97 + <div class="form-group">
  98 + <div class="col-md-offset-2 col-md-10">
  99 + <input type="submit" value="Create" class="btn btn-default" />
  100 + </div>
  101 + </div>
  102 + </div>
  103 +</form>
  104 +
  105 +<div>
  106 + <a asp-action="Index">Back to List</a>
  107 +</div>
  108 +
  109 +</body>
  110 +</html>
src/Maps/Views/Road/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Road/Delete.cshtml
  1 +@model Maps.Entities.Road
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>Road</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.AcceptTransferDoc)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.AcceptTransferDoc)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.AcceptanceDoc)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.AcceptanceDoc)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.AuthorityAct)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.AuthorityAct)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.EconomicValue)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.EconomicValue)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.HistoricalBackground)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.HistoricalBackground)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.Index)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.Index)
  56 + </dd>
  57 + <dt>
  58 + @Html.DisplayNameFor(model => model.LawDoc)
  59 + </dt>
  60 + <dd>
  61 + @Html.DisplayFor(model => model.LawDoc)
  62 + </dd>
  63 + <dt>
  64 + @Html.DisplayNameFor(model => model.Length)
  65 + </dt>
  66 + <dd>
  67 + @Html.DisplayFor(model => model.Length)
  68 + </dd>
  69 + <dt>
  70 + @Html.DisplayNameFor(model => model.Name)
  71 + </dt>
  72 + <dd>
  73 + @Html.DisplayFor(model => model.Name)
  74 + </dd>
  75 + <dt>
  76 + @Html.DisplayNameFor(model => model.Value)
  77 + </dt>
  78 + <dd>
  79 + @Html.DisplayFor(model => model.Value)
  80 + </dd>
  81 + </dl>
  82 +
  83 + <form asp-action="Delete">
  84 + <div class="form-actions no-color">
  85 + <input type="submit" value="Delete" class="btn btn-default" /> |
  86 + <a asp-action="Index">Back to List</a>
  87 + </div>
  88 + </form>
  89 +</div>
  90 +</body>
  91 +</html>
src/Maps/Views/Road/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Road/Details.cshtml
  1 +@model Maps.Entities.Road
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>Road</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.AcceptTransferDoc)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.AcceptTransferDoc)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.AcceptanceDoc)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.AcceptanceDoc)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.AuthorityAct)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.AuthorityAct)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.EconomicValue)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.EconomicValue)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.HistoricalBackground)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.HistoricalBackground)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.Index)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.Index)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.LawDoc)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.LawDoc)
  61 + </dd>
  62 + <dt>
  63 + @Html.DisplayNameFor(model => model.Length)
  64 + </dt>
  65 + <dd>
  66 + @Html.DisplayFor(model => model.Length)
  67 + </dd>
  68 + <dt>
  69 + @Html.DisplayNameFor(model => model.Name)
  70 + </dt>
  71 + <dd>
  72 + @Html.DisplayFor(model => model.Name)
  73 + </dd>
  74 + <dt>
  75 + @Html.DisplayNameFor(model => model.Value)
  76 + </dt>
  77 + <dd>
  78 + @Html.DisplayFor(model => model.Value)
  79 + </dd>
  80 + </dl>
  81 +</div>
  82 +<div>
  83 + <a asp-action="Edit" asp-route-id="@Model.RoadId">Edit</a> |
  84 + <a asp-action="Index">Back to List</a>
  85 +</div>
  86 +</body>
  87 +</html>
src/Maps/Views/Road/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Road/Edit.cshtml
  1 +@model Maps.Entities.Road
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>Road</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadId" />
  22 + <div class="form-group">
  23 + <label asp-for="AcceptTransferDoc" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="AcceptTransferDoc" class="form-control" />
  26 + <span asp-validation-for="AcceptTransferDoc" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="AcceptanceDoc" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="AcceptanceDoc" class="form-control" />
  33 + <span asp-validation-for="AcceptanceDoc" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="AuthorityAct" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="AuthorityAct" class="form-control" />
  40 + <span asp-validation-for="AuthorityAct" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="EconomicValue" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="EconomicValue" class="form-control" />
  47 + <span asp-validation-for="EconomicValue" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="HistoricalBackground" class="col-md-2 control-label"></label>
  52 + <div class="col-md-10">
  53 + <input asp-for="HistoricalBackground" class="form-control" />
  54 + <span asp-validation-for="HistoricalBackground" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="Index" class="col-md-2 control-label"></label>
  59 + <div class="col-md-10">
  60 + <input asp-for="Index" class="form-control" />
  61 + <span asp-validation-for="Index" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="LawDoc" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="LawDoc" class="form-control" />
  68 + <span asp-validation-for="LawDoc" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="Length" class="col-md-2 control-label"></label>
  73 + <div class="col-md-10">
  74 + <input asp-for="Length" class="form-control" />
  75 + <span asp-validation-for="Length" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="Name" class="col-md-2 control-label"></label>
  80 + <div class="col-md-10">
  81 + <input asp-for="Name" class="form-control" />
  82 + <span asp-validation-for="Name" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="RoadTypeId" class="control-label col-md-2"></label>
  87 + <div class="col-md-10">
  88 + <select asp-for="RoadTypeId" class="form-control" asp-items="ViewBag.RoadTypeId"></select>
  89 + <span asp-validation-for="RoadTypeId" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="Value" class="col-md-2 control-label"></label>
  94 + <div class="col-md-10">
  95 + <input asp-for="Value" class="form-control" />
  96 + <span asp-validation-for="Value" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <div class="col-md-offset-2 col-md-10">
  101 + <input type="submit" value="Save" class="btn btn-default" />
  102 + </div>
  103 + </div>
  104 + </div>
  105 +</form>
  106 +
  107 +<div>
  108 + <a asp-action="Index">Back to List</a>
  109 +</div>
  110 +
  111 +</body>
  112 +</html>
src/Maps/Views/Road/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Road/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.Road>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.AcceptTransferDoc)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.AcceptanceDoc)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.AuthorityAct)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.EconomicValue)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.HistoricalBackground)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.Index)
  38 + </th>
  39 + <th>
  40 + @Html.DisplayNameFor(model => model.LawDoc)
  41 + </th>
  42 + <th>
  43 + @Html.DisplayNameFor(model => model.Length)
  44 + </th>
  45 + <th>
  46 + @Html.DisplayNameFor(model => model.Name)
  47 + </th>
  48 + <th>
  49 + @Html.DisplayNameFor(model => model.Value)
  50 + </th>
  51 + <th></th>
  52 + </tr>
  53 + </thead>
  54 + <tbody>
  55 +@foreach (var item in Model) {
  56 + <tr>
  57 + <td>
  58 + @Html.DisplayFor(modelItem => item.AcceptTransferDoc)
  59 + </td>
  60 + <td>
  61 + @Html.DisplayFor(modelItem => item.AcceptanceDoc)
  62 + </td>
  63 + <td>
  64 + @Html.DisplayFor(modelItem => item.AuthorityAct)
  65 + </td>
  66 + <td>
  67 + @Html.DisplayFor(modelItem => item.EconomicValue)
  68 + </td>
  69 + <td>
  70 + @Html.DisplayFor(modelItem => item.HistoricalBackground)
  71 + </td>
  72 + <td>
  73 + @Html.DisplayFor(modelItem => item.Index)
  74 + </td>
  75 + <td>
  76 + @Html.DisplayFor(modelItem => item.LawDoc)
  77 + </td>
  78 + <td>
  79 + @Html.DisplayFor(modelItem => item.Length)
  80 + </td>
  81 + <td>
  82 + @Html.DisplayFor(modelItem => item.Name)
  83 + </td>
  84 + <td>
  85 + @Html.DisplayFor(modelItem => item.Value)
  86 + </td>
  87 + <td>
  88 + <a asp-action="Edit" asp-route-id="@item.RoadId">Edit</a> |
  89 + <a asp-action="Details" asp-route-id="@item.RoadId">Details</a> |
  90 + <a asp-action="Delete" asp-route-id="@item.RoadId">Delete</a>
  91 + </td>
  92 + </tr>
  93 +}
  94 + </tbody>
  95 +</table>
  96 +</body>
  97 +</html>
src/Maps/Views/RoadCategory/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadCategory/Create.cshtml
  1 +@model Maps.Entities.RoadCategory
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadCategory</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Value" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Value" class="form-control" />
  25 + <span asp-validation-for="Value" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/RoadCategory/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadCategory/Delete.cshtml
  1 +@model Maps.Entities.RoadCategory
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadCategory</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Value)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/RoadCategory/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadCategory/Details.cshtml
  1 +@model Maps.Entities.RoadCategory
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadCategory</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Value)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Value)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.RoadCategoryId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/RoadCategory/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadCategory/Edit.cshtml
  1 +@model Maps.Entities.RoadCategory
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadCategory</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadCategoryId" />
  22 + <div class="form-group">
  23 + <label asp-for="Value" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Value" class="form-control" />
  26 + <span asp-validation-for="Value" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/RoadCategory/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadCategory/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadCategory>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Value)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.RoadCategoryId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.RoadCategoryId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.RoadCategoryId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/RoadDirection/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadDirection/Create.cshtml
  1 +@model Maps.Entities.RoadDirection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadDirection</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="DirectionName" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="DirectionName" class="form-control" />
  25 + <span asp-validation-for="DirectionName" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/RoadDirection/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadDirection/Delete.cshtml
  1 +@model Maps.Entities.RoadDirection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadDirection</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.DirectionName)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.DirectionName)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/RoadDirection/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadDirection/Details.cshtml
  1 +@model Maps.Entities.RoadDirection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadDirection</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.DirectionName)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.DirectionName)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.RoadDirectionId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/RoadDirection/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadDirection/Edit.cshtml
  1 +@model Maps.Entities.RoadDirection
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadDirection</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadDirectionId" />
  22 + <div class="form-group">
  23 + <label asp-for="DirectionName" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="DirectionName" class="form-control" />
  26 + <span asp-validation-for="DirectionName" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/RoadDirection/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadDirection/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadDirection>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.DirectionName)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.DirectionName)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.RoadDirectionId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.RoadDirectionId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.RoadDirectionId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/RoadPassport/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadPassport/Create.cshtml
  1 +@model Maps.Entities.RoadPassport
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadPassport</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="End" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="End" class="form-control" />
  32 + <span asp-validation-for="End" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  39 + </div>
  40 + </div>
  41 + <div class="form-group">
  42 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  43 + <div class="col-md-10">
  44 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  45 + </div>
  46 + </div>
  47 + <div class="form-group">
  48 + <div class="col-md-offset-2 col-md-10">
  49 + <input type="submit" value="Create" class="btn btn-default" />
  50 + </div>
  51 + </div>
  52 + </div>
  53 +</form>
  54 +
  55 +<div>
  56 + <a asp-action="Index">Back to List</a>
  57 +</div>
  58 +
  59 +</body>
  60 +</html>
src/Maps/Views/RoadPassport/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadPassport/Delete.cshtml
  1 +@model Maps.Entities.RoadPassport
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadPassport</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.End)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.End)
  32 + </dd>
  33 + </dl>
  34 +
  35 + <form asp-action="Delete">
  36 + <div class="form-actions no-color">
  37 + <input type="submit" value="Delete" class="btn btn-default" /> |
  38 + <a asp-action="Index">Back to List</a>
  39 + </div>
  40 + </form>
  41 +</div>
  42 +</body>
  43 +</html>
src/Maps/Views/RoadPassport/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadPassport/Details.cshtml
  1 +@model Maps.Entities.RoadPassport
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadPassport</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.End)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.End)
  31 + </dd>
  32 + </dl>
  33 +</div>
  34 +<div>
  35 + <a asp-action="Edit" asp-route-id="@Model.RoadPassportId">Edit</a> |
  36 + <a asp-action="Index">Back to List</a>
  37 +</div>
  38 +</body>
  39 +</html>
src/Maps/Views/RoadPassport/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadPassport/Edit.cshtml
  1 +@model Maps.Entities.RoadPassport
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadPassport</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadPassportId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="End" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="End" class="form-control" />
  33 + <span asp-validation-for="End" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  38 + <div class="col-md-10">
  39 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  40 + <span asp-validation-for="RegionId" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  45 + <div class="col-md-10">
  46 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  47 + <span asp-validation-for="RoadId" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <div class="col-md-offset-2 col-md-10">
  52 + <input type="submit" value="Save" class="btn btn-default" />
  53 + </div>
  54 + </div>
  55 + </div>
  56 +</form>
  57 +
  58 +<div>
  59 + <a asp-action="Index">Back to List</a>
  60 +</div>
  61 +
  62 +</body>
  63 +</html>
src/Maps/Views/RoadPassport/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadPassport/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadPassport>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.End)
  26 + </th>
  27 + <th></th>
  28 + </tr>
  29 + </thead>
  30 + <tbody>
  31 +@foreach (var item in Model) {
  32 + <tr>
  33 + <td>
  34 + @Html.DisplayFor(modelItem => item.Begin)
  35 + </td>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.End)
  38 + </td>
  39 + <td>
  40 + <a asp-action="Edit" asp-route-id="@item.RoadPassportId">Edit</a> |
  41 + <a asp-action="Details" asp-route-id="@item.RoadPassportId">Details</a> |
  42 + <a asp-action="Delete" asp-route-id="@item.RoadPassportId">Delete</a>
  43 + </td>
  44 + </tr>
  45 +}
  46 + </tbody>
  47 +</table>
  48 +</body>
  49 +</html>
src/Maps/Views/RoadService/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadService/Create.cshtml
  1 +@model Maps.Entities.RoadService
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadService</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="End" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="End" class="form-control" />
  32 + <span asp-validation-for="End" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="OrganizationId" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <select asp-for="OrganizationId" class ="form-control" asp-items="ViewBag.OrganizationId"></select>
  39 + </div>
  40 + </div>
  41 + <div class="form-group">
  42 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  43 + <div class="col-md-10">
  44 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  45 + </div>
  46 + </div>
  47 + <div class="form-group">
  48 + <label asp-for="RoadDirectionId" class="col-md-2 control-label"></label>
  49 + <div class="col-md-10">
  50 + <select asp-for="RoadDirectionId" class ="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  51 + </div>
  52 + </div>
  53 + <div class="form-group">
  54 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  55 + <div class="col-md-10">
  56 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  57 + </div>
  58 + </div>
  59 + <div class="form-group">
  60 + <label asp-for="YearBegin" class="col-md-2 control-label"></label>
  61 + <div class="col-md-10">
  62 + <input asp-for="YearBegin" class="form-control" />
  63 + <span asp-validation-for="YearBegin" class="text-danger" />
  64 + </div>
  65 + </div>
  66 + <div class="form-group">
  67 + <div class="col-md-offset-2 col-md-10">
  68 + <input type="submit" value="Create" class="btn btn-default" />
  69 + </div>
  70 + </div>
  71 + </div>
  72 +</form>
  73 +
  74 +<div>
  75 + <a asp-action="Index">Back to List</a>
  76 +</div>
  77 +
  78 +</body>
  79 +</html>
src/Maps/Views/RoadService/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadService/Delete.cshtml
  1 +@model Maps.Entities.RoadService
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadService</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.End)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.End)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.YearBegin)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.YearBegin)
  38 + </dd>
  39 + </dl>
  40 +
  41 + <form asp-action="Delete">
  42 + <div class="form-actions no-color">
  43 + <input type="submit" value="Delete" class="btn btn-default" /> |
  44 + <a asp-action="Index">Back to List</a>
  45 + </div>
  46 + </form>
  47 +</div>
  48 +</body>
  49 +</html>
src/Maps/Views/RoadService/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadService/Details.cshtml
  1 +@model Maps.Entities.RoadService
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadService</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.End)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.End)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.YearBegin)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.YearBegin)
  37 + </dd>
  38 + </dl>
  39 +</div>
  40 +<div>
  41 + <a asp-action="Edit" asp-route-id="@Model.RoadServiceId">Edit</a> |
  42 + <a asp-action="Index">Back to List</a>
  43 +</div>
  44 +</body>
  45 +</html>
src/Maps/Views/RoadService/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadService/Edit.cshtml
  1 +@model Maps.Entities.RoadService
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadService</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadServiceId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="End" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="End" class="form-control" />
  33 + <span asp-validation-for="End" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="OrganizationId" class="control-label col-md-2"></label>
  38 + <div class="col-md-10">
  39 + <select asp-for="OrganizationId" class="form-control" asp-items="ViewBag.OrganizationId"></select>
  40 + <span asp-validation-for="OrganizationId" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  45 + <div class="col-md-10">
  46 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  47 + <span asp-validation-for="RegionId" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="RoadDirectionId" class="control-label col-md-2"></label>
  52 + <div class="col-md-10">
  53 + <select asp-for="RoadDirectionId" class="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  54 + <span asp-validation-for="RoadDirectionId" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  59 + <div class="col-md-10">
  60 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  61 + <span asp-validation-for="RoadId" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="YearBegin" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="YearBegin" class="form-control" />
  68 + <span asp-validation-for="YearBegin" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <div class="col-md-offset-2 col-md-10">
  73 + <input type="submit" value="Save" class="btn btn-default" />
  74 + </div>
  75 + </div>
  76 + </div>
  77 +</form>
  78 +
  79 +<div>
  80 + <a asp-action="Index">Back to List</a>
  81 +</div>
  82 +
  83 +</body>
  84 +</html>
src/Maps/Views/RoadService/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadService/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadService>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.End)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.YearBegin)
  29 + </th>
  30 + <th></th>
  31 + </tr>
  32 + </thead>
  33 + <tbody>
  34 +@foreach (var item in Model) {
  35 + <tr>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Begin)
  38 + </td>
  39 + <td>
  40 + @Html.DisplayFor(modelItem => item.End)
  41 + </td>
  42 + <td>
  43 + @Html.DisplayFor(modelItem => item.YearBegin)
  44 + </td>
  45 + <td>
  46 + <a asp-action="Edit" asp-route-id="@item.RoadServiceId">Edit</a> |
  47 + <a asp-action="Details" asp-route-id="@item.RoadServiceId">Details</a> |
  48 + <a asp-action="Delete" asp-route-id="@item.RoadServiceId">Delete</a>
  49 + </td>
  50 + </tr>
  51 +}
  52 + </tbody>
  53 +</table>
  54 +</body>
  55 +</html>
src/Maps/Views/RoadSurface/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadSurface/Create.cshtml
  1 +@model Maps.Entities.RoadSurface
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadSurface</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="CrossSectionNumber" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="CrossSectionNumber" class="form-control" />
  32 + <span asp-validation-for="CrossSectionNumber" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="ElastisityModule" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="ElastisityModule" class="form-control" />
  39 + <span asp-validation-for="ElastisityModule" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="End" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <input asp-for="End" class="form-control" />
  46 + <span asp-validation-for="End" class="text-danger" />
  47 + </div>
  48 + </div>
  49 + <div class="form-group">
  50 + <label asp-for="LaneCountLeft" class="col-md-2 control-label"></label>
  51 + <div class="col-md-10">
  52 + <input asp-for="LaneCountLeft" class="form-control" />
  53 + <span asp-validation-for="LaneCountLeft" class="text-danger" />
  54 + </div>
  55 + </div>
  56 + <div class="form-group">
  57 + <label asp-for="LaneCountRight" class="col-md-2 control-label"></label>
  58 + <div class="col-md-10">
  59 + <input asp-for="LaneCountRight" class="form-control" />
  60 + <span asp-validation-for="LaneCountRight" class="text-danger" />
  61 + </div>
  62 + </div>
  63 + <div class="form-group">
  64 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  65 + <div class="col-md-10">
  66 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  67 + </div>
  68 + </div>
  69 + <div class="form-group">
  70 + <label asp-for="RoadDirectionId" class="col-md-2 control-label"></label>
  71 + <div class="col-md-10">
  72 + <select asp-for="RoadDirectionId" class ="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  73 + </div>
  74 + </div>
  75 + <div class="form-group">
  76 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  77 + <div class="col-md-10">
  78 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  79 + </div>
  80 + </div>
  81 + <div class="form-group">
  82 + <label asp-for="RoadSurfaceConstructionId" class="col-md-2 control-label"></label>
  83 + <div class="col-md-10">
  84 + <input asp-for="RoadSurfaceConstructionId" class="form-control" />
  85 + <span asp-validation-for="RoadSurfaceConstructionId" class="text-danger" />
  86 + </div>
  87 + </div>
  88 + <div class="form-group">
  89 + <label asp-for="StateCommonId" class="col-md-2 control-label"></label>
  90 + <div class="col-md-10">
  91 + <select asp-for="StateCommonId" class ="form-control" asp-items="ViewBag.StateCommonId"></select>
  92 + </div>
  93 + </div>
  94 + <div class="form-group">
  95 + <label asp-for="SurfaceTreatmentId" class="col-md-2 control-label"></label>
  96 + <div class="col-md-10">
  97 + <select asp-for="SurfaceTreatmentId" class ="form-control" asp-items="ViewBag.SurfaceTreatmentId"></select>
  98 + </div>
  99 + </div>
  100 + <div class="form-group">
  101 + <label asp-for="SurfaceTypeId" class="col-md-2 control-label"></label>
  102 + <div class="col-md-10">
  103 + <select asp-for="SurfaceTypeId" class ="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  104 + </div>
  105 + </div>
  106 + <div class="form-group">
  107 + <div class="col-md-offset-2 col-md-10">
  108 + <input type="submit" value="Create" class="btn btn-default" />
  109 + </div>
  110 + </div>
  111 + </div>
  112 +</form>
  113 +
  114 +<div>
  115 + <a asp-action="Index">Back to List</a>
  116 +</div>
  117 +
  118 +</body>
  119 +</html>
src/Maps/Views/RoadSurface/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadSurface/Delete.cshtml
  1 +@model Maps.Entities.RoadSurface
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadSurface</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.CrossSectionNumber)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.ElastisityModule)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.ElastisityModule)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.End)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.End)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.LaneCountLeft)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.LaneCountLeft)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.LaneCountRight)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.LaneCountRight)
  56 + </dd>
  57 + <dt>
  58 + @Html.DisplayNameFor(model => model.RoadSurfaceConstructionId)
  59 + </dt>
  60 + <dd>
  61 + @Html.DisplayFor(model => model.RoadSurfaceConstructionId)
  62 + </dd>
  63 + </dl>
  64 +
  65 + <form asp-action="Delete">
  66 + <div class="form-actions no-color">
  67 + <input type="submit" value="Delete" class="btn btn-default" /> |
  68 + <a asp-action="Index">Back to List</a>
  69 + </div>
  70 + </form>
  71 +</div>
  72 +</body>
  73 +</html>
src/Maps/Views/RoadSurface/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadSurface/Details.cshtml
  1 +@model Maps.Entities.RoadSurface
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadSurface</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.CrossSectionNumber)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.ElastisityModule)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.ElastisityModule)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.End)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.End)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.LaneCountLeft)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.LaneCountLeft)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.LaneCountRight)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.LaneCountRight)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.RoadSurfaceConstructionId)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.RoadSurfaceConstructionId)
  61 + </dd>
  62 + </dl>
  63 +</div>
  64 +<div>
  65 + <a asp-action="Edit" asp-route-id="@Model.RoadSurfaceId">Edit</a> |
  66 + <a asp-action="Index">Back to List</a>
  67 +</div>
  68 +</body>
  69 +</html>
src/Maps/Views/RoadSurface/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadSurface/Edit.cshtml
  1 +@model Maps.Entities.RoadSurface
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadSurface</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadSurfaceId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="CrossSectionNumber" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="CrossSectionNumber" class="form-control" />
  33 + <span asp-validation-for="CrossSectionNumber" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="ElastisityModule" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="ElastisityModule" class="form-control" />
  40 + <span asp-validation-for="ElastisityModule" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="End" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="End" class="form-control" />
  47 + <span asp-validation-for="End" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="LaneCountLeft" class="col-md-2 control-label"></label>
  52 + <div class="col-md-10">
  53 + <input asp-for="LaneCountLeft" class="form-control" />
  54 + <span asp-validation-for="LaneCountLeft" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="LaneCountRight" class="col-md-2 control-label"></label>
  59 + <div class="col-md-10">
  60 + <input asp-for="LaneCountRight" class="form-control" />
  61 + <span asp-validation-for="LaneCountRight" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  66 + <div class="col-md-10">
  67 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  68 + <span asp-validation-for="RegionId" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="RoadDirectionId" class="control-label col-md-2"></label>
  73 + <div class="col-md-10">
  74 + <select asp-for="RoadDirectionId" class="form-control" asp-items="ViewBag.RoadDirectionId"></select>
  75 + <span asp-validation-for="RoadDirectionId" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  80 + <div class="col-md-10">
  81 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  82 + <span asp-validation-for="RoadId" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="RoadSurfaceConstructionId" class="col-md-2 control-label"></label>
  87 + <div class="col-md-10">
  88 + <input asp-for="RoadSurfaceConstructionId" class="form-control" />
  89 + <span asp-validation-for="RoadSurfaceConstructionId" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="StateCommonId" class="control-label col-md-2"></label>
  94 + <div class="col-md-10">
  95 + <select asp-for="StateCommonId" class="form-control" asp-items="ViewBag.StateCommonId"></select>
  96 + <span asp-validation-for="StateCommonId" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <label asp-for="SurfaceTreatmentId" class="control-label col-md-2"></label>
  101 + <div class="col-md-10">
  102 + <select asp-for="SurfaceTreatmentId" class="form-control" asp-items="ViewBag.SurfaceTreatmentId"></select>
  103 + <span asp-validation-for="SurfaceTreatmentId" class="text-danger" />
  104 + </div>
  105 + </div>
  106 + <div class="form-group">
  107 + <label asp-for="SurfaceTypeId" class="control-label col-md-2"></label>
  108 + <div class="col-md-10">
  109 + <select asp-for="SurfaceTypeId" class="form-control" asp-items="ViewBag.SurfaceTypeId"></select>
  110 + <span asp-validation-for="SurfaceTypeId" class="text-danger" />
  111 + </div>
  112 + </div>
  113 + <div class="form-group">
  114 + <div class="col-md-offset-2 col-md-10">
  115 + <input type="submit" value="Save" class="btn btn-default" />
  116 + </div>
  117 + </div>
  118 + </div>
  119 +</form>
  120 +
  121 +<div>
  122 + <a asp-action="Index">Back to List</a>
  123 +</div>
  124 +
  125 +</body>
  126 +</html>
src/Maps/Views/RoadSurface/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadSurface/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadSurface>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.CrossSectionNumber)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.ElastisityModule)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.End)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.LaneCountLeft)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.LaneCountRight)
  38 + </th>
  39 + <th>
  40 + @Html.DisplayNameFor(model => model.RoadSurfaceConstructionId)
  41 + </th>
  42 + <th></th>
  43 + </tr>
  44 + </thead>
  45 + <tbody>
  46 +@foreach (var item in Model) {
  47 + <tr>
  48 + <td>
  49 + @Html.DisplayFor(modelItem => item.Begin)
  50 + </td>
  51 + <td>
  52 + @Html.DisplayFor(modelItem => item.CrossSectionNumber)
  53 + </td>
  54 + <td>
  55 + @Html.DisplayFor(modelItem => item.ElastisityModule)
  56 + </td>
  57 + <td>
  58 + @Html.DisplayFor(modelItem => item.End)
  59 + </td>
  60 + <td>
  61 + @Html.DisplayFor(modelItem => item.LaneCountLeft)
  62 + </td>
  63 + <td>
  64 + @Html.DisplayFor(modelItem => item.LaneCountRight)
  65 + </td>
  66 + <td>
  67 + @Html.DisplayFor(modelItem => item.RoadSurfaceConstructionId)
  68 + </td>
  69 + <td>
  70 + <a asp-action="Edit" asp-route-id="@item.RoadSurfaceId">Edit</a> |
  71 + <a asp-action="Details" asp-route-id="@item.RoadSurfaceId">Details</a> |
  72 + <a asp-action="Delete" asp-route-id="@item.RoadSurfaceId">Delete</a>
  73 + </td>
  74 + </tr>
  75 +}
  76 + </tbody>
  77 +</table>
  78 +</body>
  79 +</html>
src/Maps/Views/RoadType/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadType/Create.cshtml
  1 +@model Maps.Entities.RoadType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Definition" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Definition" class="form-control" />
  25 + <span asp-validation-for="Definition" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Value" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Value" class="form-control" />
  32 + <span asp-validation-for="Value" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <div class="col-md-offset-2 col-md-10">
  37 + <input type="submit" value="Create" class="btn btn-default" />
  38 + </div>
  39 + </div>
  40 + </div>
  41 +</form>
  42 +
  43 +<div>
  44 + <a asp-action="Index">Back to List</a>
  45 +</div>
  46 +
  47 +</body>
  48 +</html>
src/Maps/Views/RoadType/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadType/Delete.cshtml
  1 +@model Maps.Entities.RoadType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadType</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Definition)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Definition)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Value)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Value)
  32 + </dd>
  33 + </dl>
  34 +
  35 + <form asp-action="Delete">
  36 + <div class="form-actions no-color">
  37 + <input type="submit" value="Delete" class="btn btn-default" /> |
  38 + <a asp-action="Index">Back to List</a>
  39 + </div>
  40 + </form>
  41 +</div>
  42 +</body>
  43 +</html>
src/Maps/Views/RoadType/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadType/Details.cshtml
  1 +@model Maps.Entities.RoadType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadType</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Definition)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Definition)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Value)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Value)
  31 + </dd>
  32 + </dl>
  33 +</div>
  34 +<div>
  35 + <a asp-action="Edit" asp-route-id="@Model.RoadTypeId">Edit</a> |
  36 + <a asp-action="Index">Back to List</a>
  37 +</div>
  38 +</body>
  39 +</html>
src/Maps/Views/RoadType/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadType/Edit.cshtml
  1 +@model Maps.Entities.RoadType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadTypeId" />
  22 + <div class="form-group">
  23 + <label asp-for="Definition" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Definition" class="form-control" />
  26 + <span asp-validation-for="Definition" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Value" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Value" class="form-control" />
  33 + <span asp-validation-for="Value" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <div class="col-md-offset-2 col-md-10">
  38 + <input type="submit" value="Save" class="btn btn-default" />
  39 + </div>
  40 + </div>
  41 + </div>
  42 +</form>
  43 +
  44 +<div>
  45 + <a asp-action="Index">Back to List</a>
  46 +</div>
  47 +
  48 +</body>
  49 +</html>
src/Maps/Views/RoadType/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadType/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadType>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Definition)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Value)
  26 + </th>
  27 + <th></th>
  28 + </tr>
  29 + </thead>
  30 + <tbody>
  31 +@foreach (var item in Model) {
  32 + <tr>
  33 + <td>
  34 + @Html.DisplayFor(modelItem => item.Definition)
  35 + </td>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Value)
  38 + </td>
  39 + <td>
  40 + <a asp-action="Edit" asp-route-id="@item.RoadTypeId">Edit</a> |
  41 + <a asp-action="Details" asp-route-id="@item.RoadTypeId">Details</a> |
  42 + <a asp-action="Delete" asp-route-id="@item.RoadTypeId">Delete</a>
  43 + </td>
  44 + </tr>
  45 +}
  46 + </tbody>
  47 +</table>
  48 +</body>
  49 +</html>
src/Maps/Views/RoadWidth/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadWidth/Create.cshtml
  1 +@model Maps.Entities.RoadWidth
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>RoadWidth</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="CountLaneLeft" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="CountLaneLeft" class="form-control" />
  32 + <span asp-validation-for="CountLaneLeft" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="CountLaneRight" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="CountLaneRight" class="form-control" />
  39 + <span asp-validation-for="CountLaneRight" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="End" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <input asp-for="End" class="form-control" />
  46 + <span asp-validation-for="End" class="text-danger" />
  47 + </div>
  48 + </div>
  49 + <div class="form-group">
  50 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  51 + <div class="col-md-10">
  52 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  53 + </div>
  54 + </div>
  55 + <div class="form-group">
  56 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  57 + <div class="col-md-10">
  58 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  59 + </div>
  60 + </div>
  61 + <div class="form-group">
  62 + <label asp-for="WidthReverseRoad" class="col-md-2 control-label"></label>
  63 + <div class="col-md-10">
  64 + <input asp-for="WidthReverseRoad" class="form-control" />
  65 + <span asp-validation-for="WidthReverseRoad" class="text-danger" />
  66 + </div>
  67 + </div>
  68 + <div class="form-group">
  69 + <label asp-for="WidthRoadsideLeft" class="col-md-2 control-label"></label>
  70 + <div class="col-md-10">
  71 + <input asp-for="WidthRoadsideLeft" class="form-control" />
  72 + <span asp-validation-for="WidthRoadsideLeft" class="text-danger" />
  73 + </div>
  74 + </div>
  75 + <div class="form-group">
  76 + <label asp-for="WidthRoadsideRight" class="col-md-2 control-label"></label>
  77 + <div class="col-md-10">
  78 + <input asp-for="WidthRoadsideRight" class="form-control" />
  79 + <span asp-validation-for="WidthRoadsideRight" class="text-danger" />
  80 + </div>
  81 + </div>
  82 + <div class="form-group">
  83 + <label asp-for="WidthRoadwayForward" class="col-md-2 control-label"></label>
  84 + <div class="col-md-10">
  85 + <input asp-for="WidthRoadwayForward" class="form-control" />
  86 + <span asp-validation-for="WidthRoadwayForward" class="text-danger" />
  87 + </div>
  88 + </div>
  89 + <div class="form-group">
  90 + <label asp-for="WidthStrip" class="col-md-2 control-label"></label>
  91 + <div class="col-md-10">
  92 + <input asp-for="WidthStrip" class="form-control" />
  93 + <span asp-validation-for="WidthStrip" class="text-danger" />
  94 + </div>
  95 + </div>
  96 + <div class="form-group">
  97 + <div class="col-md-offset-2 col-md-10">
  98 + <input type="submit" value="Create" class="btn btn-default" />
  99 + </div>
  100 + </div>
  101 + </div>
  102 +</form>
  103 +
  104 +<div>
  105 + <a asp-action="Index">Back to List</a>
  106 +</div>
  107 +
  108 +</body>
  109 +</html>
src/Maps/Views/RoadWidth/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadWidth/Delete.cshtml
  1 +@model Maps.Entities.RoadWidth
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>RoadWidth</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.CountLaneLeft)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.CountLaneLeft)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.CountLaneRight)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.CountLaneRight)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.End)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.End)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.WidthReverseRoad)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.WidthReverseRoad)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.WidthRoadsideLeft)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.WidthRoadsideLeft)
  56 + </dd>
  57 + <dt>
  58 + @Html.DisplayNameFor(model => model.WidthRoadsideRight)
  59 + </dt>
  60 + <dd>
  61 + @Html.DisplayFor(model => model.WidthRoadsideRight)
  62 + </dd>
  63 + <dt>
  64 + @Html.DisplayNameFor(model => model.WidthRoadwayForward)
  65 + </dt>
  66 + <dd>
  67 + @Html.DisplayFor(model => model.WidthRoadwayForward)
  68 + </dd>
  69 + <dt>
  70 + @Html.DisplayNameFor(model => model.WidthStrip)
  71 + </dt>
  72 + <dd>
  73 + @Html.DisplayFor(model => model.WidthStrip)
  74 + </dd>
  75 + </dl>
  76 +
  77 + <form asp-action="Delete">
  78 + <div class="form-actions no-color">
  79 + <input type="submit" value="Delete" class="btn btn-default" /> |
  80 + <a asp-action="Index">Back to List</a>
  81 + </div>
  82 + </form>
  83 +</div>
  84 +</body>
  85 +</html>
src/Maps/Views/RoadWidth/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadWidth/Details.cshtml
  1 +@model Maps.Entities.RoadWidth
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>RoadWidth</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.CountLaneLeft)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.CountLaneLeft)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.CountLaneRight)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.CountLaneRight)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.End)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.End)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.WidthReverseRoad)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.WidthReverseRoad)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.WidthRoadsideLeft)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.WidthRoadsideLeft)
  55 + </dd>
  56 + <dt>
  57 + @Html.DisplayNameFor(model => model.WidthRoadsideRight)
  58 + </dt>
  59 + <dd>
  60 + @Html.DisplayFor(model => model.WidthRoadsideRight)
  61 + </dd>
  62 + <dt>
  63 + @Html.DisplayNameFor(model => model.WidthRoadwayForward)
  64 + </dt>
  65 + <dd>
  66 + @Html.DisplayFor(model => model.WidthRoadwayForward)
  67 + </dd>
  68 + <dt>
  69 + @Html.DisplayNameFor(model => model.WidthStrip)
  70 + </dt>
  71 + <dd>
  72 + @Html.DisplayFor(model => model.WidthStrip)
  73 + </dd>
  74 + </dl>
  75 +</div>
  76 +<div>
  77 + <a asp-action="Edit" asp-route-id="@Model.RoadWidthId">Edit</a> |
  78 + <a asp-action="Index">Back to List</a>
  79 +</div>
  80 +</body>
  81 +</html>
src/Maps/Views/RoadWidth/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadWidth/Edit.cshtml
  1 +@model Maps.Entities.RoadWidth
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>RoadWidth</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="RoadWidthId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="CountLaneLeft" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="CountLaneLeft" class="form-control" />
  33 + <span asp-validation-for="CountLaneLeft" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="CountLaneRight" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="CountLaneRight" class="form-control" />
  40 + <span asp-validation-for="CountLaneRight" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="End" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="End" class="form-control" />
  47 + <span asp-validation-for="End" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  52 + <div class="col-md-10">
  53 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  54 + <span asp-validation-for="RegionId" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  59 + <div class="col-md-10">
  60 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  61 + <span asp-validation-for="RoadId" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="WidthReverseRoad" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="WidthReverseRoad" class="form-control" />
  68 + <span asp-validation-for="WidthReverseRoad" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="WidthRoadsideLeft" class="col-md-2 control-label"></label>
  73 + <div class="col-md-10">
  74 + <input asp-for="WidthRoadsideLeft" class="form-control" />
  75 + <span asp-validation-for="WidthRoadsideLeft" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="WidthRoadsideRight" class="col-md-2 control-label"></label>
  80 + <div class="col-md-10">
  81 + <input asp-for="WidthRoadsideRight" class="form-control" />
  82 + <span asp-validation-for="WidthRoadsideRight" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="WidthRoadwayForward" class="col-md-2 control-label"></label>
  87 + <div class="col-md-10">
  88 + <input asp-for="WidthRoadwayForward" class="form-control" />
  89 + <span asp-validation-for="WidthRoadwayForward" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="WidthStrip" class="col-md-2 control-label"></label>
  94 + <div class="col-md-10">
  95 + <input asp-for="WidthStrip" class="form-control" />
  96 + <span asp-validation-for="WidthStrip" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <div class="col-md-offset-2 col-md-10">
  101 + <input type="submit" value="Save" class="btn btn-default" />
  102 + </div>
  103 + </div>
  104 + </div>
  105 +</form>
  106 +
  107 +<div>
  108 + <a asp-action="Index">Back to List</a>
  109 +</div>
  110 +
  111 +</body>
  112 +</html>
src/Maps/Views/RoadWidth/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/RoadWidth/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.RoadWidth>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.CountLaneLeft)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.CountLaneRight)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.End)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.WidthReverseRoad)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.WidthRoadsideLeft)
  38 + </th>
  39 + <th>
  40 + @Html.DisplayNameFor(model => model.WidthRoadsideRight)
  41 + </th>
  42 + <th>
  43 + @Html.DisplayNameFor(model => model.WidthRoadwayForward)
  44 + </th>
  45 + <th>
  46 + @Html.DisplayNameFor(model => model.WidthStrip)
  47 + </th>
  48 + <th></th>
  49 + </tr>
  50 + </thead>
  51 + <tbody>
  52 +@foreach (var item in Model) {
  53 + <tr>
  54 + <td>
  55 + @Html.DisplayFor(modelItem => item.Begin)
  56 + </td>
  57 + <td>
  58 + @Html.DisplayFor(modelItem => item.CountLaneLeft)
  59 + </td>
  60 + <td>
  61 + @Html.DisplayFor(modelItem => item.CountLaneRight)
  62 + </td>
  63 + <td>
  64 + @Html.DisplayFor(modelItem => item.End)
  65 + </td>
  66 + <td>
  67 + @Html.DisplayFor(modelItem => item.WidthReverseRoad)
  68 + </td>
  69 + <td>
  70 + @Html.DisplayFor(modelItem => item.WidthRoadsideLeft)
  71 + </td>
  72 + <td>
  73 + @Html.DisplayFor(modelItem => item.WidthRoadsideRight)
  74 + </td>
  75 + <td>
  76 + @Html.DisplayFor(modelItem => item.WidthRoadwayForward)
  77 + </td>
  78 + <td>
  79 + @Html.DisplayFor(modelItem => item.WidthStrip)
  80 + </td>
  81 + <td>
  82 + <a asp-action="Edit" asp-route-id="@item.RoadWidthId">Edit</a> |
  83 + <a asp-action="Details" asp-route-id="@item.RoadWidthId">Details</a> |
  84 + <a asp-action="Delete" asp-route-id="@item.RoadWidthId">Delete</a>
  85 + </td>
  86 + </tr>
  87 +}
  88 + </tbody>
  89 +</table>
  90 +</body>
  91 +</html>
src/Maps/Views/ServiceObject/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObject/Create.cshtml
  1 +@model Maps.Entities.ServiceObject
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>ServiceObject</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="ArrangementElements" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="ArrangementElements" class="form-control" />
  25 + <span asp-validation-for="ArrangementElements" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Capacity" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Capacity" class="form-control" />
  32 + <span asp-validation-for="Capacity" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="DepartmentAffiliationId" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <select asp-for="DepartmentAffiliationId" class ="form-control" asp-items="ViewBag.DepartmentAffiliationId"></select>
  39 + </div>
  40 + </div>
  41 + <div class="form-group">
  42 + <label asp-for="Distance" class="col-md-2 control-label"></label>
  43 + <div class="col-md-10">
  44 + <input asp-for="Distance" class="form-control" />
  45 + <span asp-validation-for="Distance" class="text-danger" />
  46 + </div>
  47 + </div>
  48 + <div class="form-group">
  49 + <label asp-for="LocationAxis" class="col-md-2 control-label"></label>
  50 + <div class="col-md-10">
  51 + <input asp-for="LocationAxis" class="form-control" />
  52 + <span asp-validation-for="LocationAxis" class="text-danger" />
  53 + </div>
  54 + </div>
  55 + <div class="form-group">
  56 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  57 + <div class="col-md-10">
  58 + <input asp-for="LocationLeft" class="form-control" />
  59 + <span asp-validation-for="LocationLeft" class="text-danger" />
  60 + </div>
  61 + </div>
  62 + <div class="form-group">
  63 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  64 + <div class="col-md-10">
  65 + <input asp-for="LocationRight" class="form-control" />
  66 + <span asp-validation-for="LocationRight" class="text-danger" />
  67 + </div>
  68 + </div>
  69 + <div class="form-group">
  70 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  71 + <div class="col-md-10">
  72 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  73 + </div>
  74 + </div>
  75 + <div class="form-group">
  76 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  77 + <div class="col-md-10">
  78 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  79 + </div>
  80 + </div>
  81 + <div class="form-group">
  82 + <label asp-for="ServiceObjectTypeId" class="col-md-2 control-label"></label>
  83 + <div class="col-md-10">
  84 + <select asp-for="ServiceObjectTypeId" class ="form-control" asp-items="ViewBag.ServiceObjectTypeId"></select>
  85 + </div>
  86 + </div>
  87 + <div class="form-group">
  88 + <label asp-for="SettlementId" class="col-md-2 control-label"></label>
  89 + <div class="col-md-10">
  90 + <select asp-for="SettlementId" class ="form-control" asp-items="ViewBag.SettlementId"></select>
  91 + </div>
  92 + </div>
  93 + <div class="form-group">
  94 + <div class="col-md-offset-2 col-md-10">
  95 + <input type="submit" value="Create" class="btn btn-default" />
  96 + </div>
  97 + </div>
  98 + </div>
  99 +</form>
  100 +
  101 +<div>
  102 + <a asp-action="Index">Back to List</a>
  103 +</div>
  104 +
  105 +</body>
  106 +</html>
src/Maps/Views/ServiceObject/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObject/Delete.cshtml
  1 +@model Maps.Entities.ServiceObject
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>ServiceObject</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.ArrangementElements)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.ArrangementElements)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Capacity)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Capacity)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.Distance)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.Distance)
  38 + </dd>
  39 + <dt>
  40 + @Html.DisplayNameFor(model => model.LocationAxis)
  41 + </dt>
  42 + <dd>
  43 + @Html.DisplayFor(model => model.LocationAxis)
  44 + </dd>
  45 + <dt>
  46 + @Html.DisplayNameFor(model => model.LocationLeft)
  47 + </dt>
  48 + <dd>
  49 + @Html.DisplayFor(model => model.LocationLeft)
  50 + </dd>
  51 + <dt>
  52 + @Html.DisplayNameFor(model => model.LocationRight)
  53 + </dt>
  54 + <dd>
  55 + @Html.DisplayFor(model => model.LocationRight)
  56 + </dd>
  57 + </dl>
  58 +
  59 + <form asp-action="Delete">
  60 + <div class="form-actions no-color">
  61 + <input type="submit" value="Delete" class="btn btn-default" /> |
  62 + <a asp-action="Index">Back to List</a>
  63 + </div>
  64 + </form>
  65 +</div>
  66 +</body>
  67 +</html>
src/Maps/Views/ServiceObject/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObject/Details.cshtml
  1 +@model Maps.Entities.ServiceObject
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>ServiceObject</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.ArrangementElements)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.ArrangementElements)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Capacity)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Capacity)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.Distance)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.Distance)
  37 + </dd>
  38 + <dt>
  39 + @Html.DisplayNameFor(model => model.LocationAxis)
  40 + </dt>
  41 + <dd>
  42 + @Html.DisplayFor(model => model.LocationAxis)
  43 + </dd>
  44 + <dt>
  45 + @Html.DisplayNameFor(model => model.LocationLeft)
  46 + </dt>
  47 + <dd>
  48 + @Html.DisplayFor(model => model.LocationLeft)
  49 + </dd>
  50 + <dt>
  51 + @Html.DisplayNameFor(model => model.LocationRight)
  52 + </dt>
  53 + <dd>
  54 + @Html.DisplayFor(model => model.LocationRight)
  55 + </dd>
  56 + </dl>
  57 +</div>
  58 +<div>
  59 + <a asp-action="Edit" asp-route-id="@Model.ServiceObjectId">Edit</a> |
  60 + <a asp-action="Index">Back to List</a>
  61 +</div>
  62 +</body>
  63 +</html>
src/Maps/Views/ServiceObject/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObject/Edit.cshtml
  1 +@model Maps.Entities.ServiceObject
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>ServiceObject</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="ServiceObjectId" />
  22 + <div class="form-group">
  23 + <label asp-for="ArrangementElements" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="ArrangementElements" class="form-control" />
  26 + <span asp-validation-for="ArrangementElements" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Capacity" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Capacity" class="form-control" />
  33 + <span asp-validation-for="Capacity" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="DepartmentAffiliationId" class="control-label col-md-2"></label>
  38 + <div class="col-md-10">
  39 + <select asp-for="DepartmentAffiliationId" class="form-control" asp-items="ViewBag.DepartmentAffiliationId"></select>
  40 + <span asp-validation-for="DepartmentAffiliationId" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="Distance" class="col-md-2 control-label"></label>
  45 + <div class="col-md-10">
  46 + <input asp-for="Distance" class="form-control" />
  47 + <span asp-validation-for="Distance" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="LocationAxis" class="col-md-2 control-label"></label>
  52 + <div class="col-md-10">
  53 + <input asp-for="LocationAxis" class="form-control" />
  54 + <span asp-validation-for="LocationAxis" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="LocationLeft" class="col-md-2 control-label"></label>
  59 + <div class="col-md-10">
  60 + <input asp-for="LocationLeft" class="form-control" />
  61 + <span asp-validation-for="LocationLeft" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="LocationRight" class="col-md-2 control-label"></label>
  66 + <div class="col-md-10">
  67 + <input asp-for="LocationRight" class="form-control" />
  68 + <span asp-validation-for="LocationRight" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  73 + <div class="col-md-10">
  74 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  75 + <span asp-validation-for="RegionId" class="text-danger" />
  76 + </div>
  77 + </div>
  78 + <div class="form-group">
  79 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  80 + <div class="col-md-10">
  81 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  82 + <span asp-validation-for="RoadId" class="text-danger" />
  83 + </div>
  84 + </div>
  85 + <div class="form-group">
  86 + <label asp-for="ServiceObjectTypeId" class="control-label col-md-2"></label>
  87 + <div class="col-md-10">
  88 + <select asp-for="ServiceObjectTypeId" class="form-control" asp-items="ViewBag.ServiceObjectTypeId"></select>
  89 + <span asp-validation-for="ServiceObjectTypeId" class="text-danger" />
  90 + </div>
  91 + </div>
  92 + <div class="form-group">
  93 + <label asp-for="SettlementId" class="control-label col-md-2"></label>
  94 + <div class="col-md-10">
  95 + <select asp-for="SettlementId" class="form-control" asp-items="ViewBag.SettlementId"></select>
  96 + <span asp-validation-for="SettlementId" class="text-danger" />
  97 + </div>
  98 + </div>
  99 + <div class="form-group">
  100 + <div class="col-md-offset-2 col-md-10">
  101 + <input type="submit" value="Save" class="btn btn-default" />
  102 + </div>
  103 + </div>
  104 + </div>
  105 +</form>
  106 +
  107 +<div>
  108 + <a asp-action="Index">Back to List</a>
  109 +</div>
  110 +
  111 +</body>
  112 +</html>
src/Maps/Views/ServiceObject/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObject/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.ServiceObject>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.ArrangementElements)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Capacity)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.Distance)
  29 + </th>
  30 + <th>
  31 + @Html.DisplayNameFor(model => model.LocationAxis)
  32 + </th>
  33 + <th>
  34 + @Html.DisplayNameFor(model => model.LocationLeft)
  35 + </th>
  36 + <th>
  37 + @Html.DisplayNameFor(model => model.LocationRight)
  38 + </th>
  39 + <th></th>
  40 + </tr>
  41 + </thead>
  42 + <tbody>
  43 +@foreach (var item in Model) {
  44 + <tr>
  45 + <td>
  46 + @Html.DisplayFor(modelItem => item.ArrangementElements)
  47 + </td>
  48 + <td>
  49 + @Html.DisplayFor(modelItem => item.Capacity)
  50 + </td>
  51 + <td>
  52 + @Html.DisplayFor(modelItem => item.Distance)
  53 + </td>
  54 + <td>
  55 + @Html.DisplayFor(modelItem => item.LocationAxis)
  56 + </td>
  57 + <td>
  58 + @Html.DisplayFor(modelItem => item.LocationLeft)
  59 + </td>
  60 + <td>
  61 + @Html.DisplayFor(modelItem => item.LocationRight)
  62 + </td>
  63 + <td>
  64 + <a asp-action="Edit" asp-route-id="@item.ServiceObjectId">Edit</a> |
  65 + <a asp-action="Details" asp-route-id="@item.ServiceObjectId">Details</a> |
  66 + <a asp-action="Delete" asp-route-id="@item.ServiceObjectId">Delete</a>
  67 + </td>
  68 + </tr>
  69 +}
  70 + </tbody>
  71 +</table>
  72 +</body>
  73 +</html>
src/Maps/Views/ServiceObjectType/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObjectType/Create.cshtml
  1 +@model Maps.Entities.ServiceObjectType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>ServiceObjectType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Name" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Name" class="form-control" />
  25 + <span asp-validation-for="Name" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/ServiceObjectType/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObjectType/Delete.cshtml
  1 +@model Maps.Entities.ServiceObjectType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>ServiceObjectType</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Name)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/ServiceObjectType/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObjectType/Details.cshtml
  1 +@model Maps.Entities.ServiceObjectType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>ServiceObjectType</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Name)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Name)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.ServiceObjectTypeId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/ServiceObjectType/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObjectType/Edit.cshtml
  1 +@model Maps.Entities.ServiceObjectType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>ServiceObjectType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="ServiceObjectTypeId" />
  22 + <div class="form-group">
  23 + <label asp-for="Name" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Name" class="form-control" />
  26 + <span asp-validation-for="Name" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/ServiceObjectType/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/ServiceObjectType/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.ServiceObjectType>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Name)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.ServiceObjectTypeId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.ServiceObjectTypeId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.ServiceObjectTypeId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/Settlement/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Settlement/Create.cshtml
  1 +@model Maps.Entities.Settlement
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>Settlement</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Name" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Name" class="form-control" />
  25 + <span asp-validation-for="Name" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Sign" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Sign" class="form-control" />
  32 + <span asp-validation-for="Sign" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <div class="col-md-offset-2 col-md-10">
  37 + <input type="submit" value="Create" class="btn btn-default" />
  38 + </div>
  39 + </div>
  40 + </div>
  41 +</form>
  42 +
  43 +<div>
  44 + <a asp-action="Index">Back to List</a>
  45 +</div>
  46 +
  47 +</body>
  48 +</html>
src/Maps/Views/Settlement/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Settlement/Delete.cshtml
  1 +@model Maps.Entities.Settlement
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>Settlement</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Name)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Sign)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Sign)
  32 + </dd>
  33 + </dl>
  34 +
  35 + <form asp-action="Delete">
  36 + <div class="form-actions no-color">
  37 + <input type="submit" value="Delete" class="btn btn-default" /> |
  38 + <a asp-action="Index">Back to List</a>
  39 + </div>
  40 + </form>
  41 +</div>
  42 +</body>
  43 +</html>
src/Maps/Views/Settlement/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Settlement/Details.cshtml
  1 +@model Maps.Entities.Settlement
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>Settlement</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Name)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Name)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Sign)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Sign)
  31 + </dd>
  32 + </dl>
  33 +</div>
  34 +<div>
  35 + <a asp-action="Edit" asp-route-id="@Model.SettlementId">Edit</a> |
  36 + <a asp-action="Index">Back to List</a>
  37 +</div>
  38 +</body>
  39 +</html>
src/Maps/Views/Settlement/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Settlement/Edit.cshtml
  1 +@model Maps.Entities.Settlement
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>Settlement</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="SettlementId" />
  22 + <div class="form-group">
  23 + <label asp-for="Name" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Name" class="form-control" />
  26 + <span asp-validation-for="Name" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Sign" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Sign" class="form-control" />
  33 + <span asp-validation-for="Sign" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <div class="col-md-offset-2 col-md-10">
  38 + <input type="submit" value="Save" class="btn btn-default" />
  39 + </div>
  40 + </div>
  41 + </div>
  42 +</form>
  43 +
  44 +<div>
  45 + <a asp-action="Index">Back to List</a>
  46 +</div>
  47 +
  48 +</body>
  49 +</html>
src/Maps/Views/Settlement/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/Settlement/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.Settlement>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Sign)
  26 + </th>
  27 + <th></th>
  28 + </tr>
  29 + </thead>
  30 + <tbody>
  31 +@foreach (var item in Model) {
  32 + <tr>
  33 + <td>
  34 + @Html.DisplayFor(modelItem => item.Name)
  35 + </td>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Sign)
  38 + </td>
  39 + <td>
  40 + <a asp-action="Edit" asp-route-id="@item.SettlementId">Edit</a> |
  41 + <a asp-action="Details" asp-route-id="@item.SettlementId">Details</a> |
  42 + <a asp-action="Delete" asp-route-id="@item.SettlementId">Delete</a>
  43 + </td>
  44 + </tr>
  45 +}
  46 + </tbody>
  47 +</table>
  48 +</body>
  49 +</html>
src/Maps/Views/SettlementAddressLink/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementAddressLink/Create.cshtml
  1 +@model Maps.Entities.SettlementAddressLink
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>SettlementAddressLink</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Begin" class="form-control" />
  25 + <span asp-validation-for="Begin" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <label asp-for="Distance" class="col-md-2 control-label"></label>
  30 + <div class="col-md-10">
  31 + <input asp-for="Distance" class="form-control" />
  32 + <span asp-validation-for="Distance" class="text-danger" />
  33 + </div>
  34 + </div>
  35 + <div class="form-group">
  36 + <label asp-for="End" class="col-md-2 control-label"></label>
  37 + <div class="col-md-10">
  38 + <input asp-for="End" class="form-control" />
  39 + <span asp-validation-for="End" class="text-danger" />
  40 + </div>
  41 + </div>
  42 + <div class="form-group">
  43 + <label asp-for="RegionId" class="col-md-2 control-label"></label>
  44 + <div class="col-md-10">
  45 + <select asp-for="RegionId" class ="form-control" asp-items="ViewBag.RegionId"></select>
  46 + </div>
  47 + </div>
  48 + <div class="form-group">
  49 + <label asp-for="RoadId" class="col-md-2 control-label"></label>
  50 + <div class="col-md-10">
  51 + <select asp-for="RoadId" class ="form-control" asp-items="ViewBag.RoadId"></select>
  52 + </div>
  53 + </div>
  54 + <div class="form-group">
  55 + <label asp-for="SettlementId" class="col-md-2 control-label"></label>
  56 + <div class="col-md-10">
  57 + <select asp-for="SettlementId" class ="form-control" asp-items="ViewBag.SettlementId"></select>
  58 + </div>
  59 + </div>
  60 + <div class="form-group">
  61 + <label asp-for="SettlementLocationId" class="col-md-2 control-label"></label>
  62 + <div class="col-md-10">
  63 + <select asp-for="SettlementLocationId" class ="form-control" asp-items="ViewBag.SettlementLocationId"></select>
  64 + </div>
  65 + </div>
  66 + <div class="form-group">
  67 + <div class="col-md-offset-2 col-md-10">
  68 + <input type="submit" value="Create" class="btn btn-default" />
  69 + </div>
  70 + </div>
  71 + </div>
  72 +</form>
  73 +
  74 +<div>
  75 + <a asp-action="Index">Back to List</a>
  76 +</div>
  77 +
  78 +</body>
  79 +</html>
src/Maps/Views/SettlementAddressLink/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementAddressLink/Delete.cshtml
  1 +@model Maps.Entities.SettlementAddressLink
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>SettlementAddressLink</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Begin)
  26 + </dd>
  27 + <dt>
  28 + @Html.DisplayNameFor(model => model.Distance)
  29 + </dt>
  30 + <dd>
  31 + @Html.DisplayFor(model => model.Distance)
  32 + </dd>
  33 + <dt>
  34 + @Html.DisplayNameFor(model => model.End)
  35 + </dt>
  36 + <dd>
  37 + @Html.DisplayFor(model => model.End)
  38 + </dd>
  39 + </dl>
  40 +
  41 + <form asp-action="Delete">
  42 + <div class="form-actions no-color">
  43 + <input type="submit" value="Delete" class="btn btn-default" /> |
  44 + <a asp-action="Index">Back to List</a>
  45 + </div>
  46 + </form>
  47 +</div>
  48 +</body>
  49 +</html>
src/Maps/Views/SettlementAddressLink/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementAddressLink/Details.cshtml
  1 +@model Maps.Entities.SettlementAddressLink
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>SettlementAddressLink</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Begin)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Begin)
  25 + </dd>
  26 + <dt>
  27 + @Html.DisplayNameFor(model => model.Distance)
  28 + </dt>
  29 + <dd>
  30 + @Html.DisplayFor(model => model.Distance)
  31 + </dd>
  32 + <dt>
  33 + @Html.DisplayNameFor(model => model.End)
  34 + </dt>
  35 + <dd>
  36 + @Html.DisplayFor(model => model.End)
  37 + </dd>
  38 + </dl>
  39 +</div>
  40 +<div>
  41 + <a asp-action="Edit" asp-route-id="@Model.SettlementAddressLinkId">Edit</a> |
  42 + <a asp-action="Index">Back to List</a>
  43 +</div>
  44 +</body>
  45 +</html>
src/Maps/Views/SettlementAddressLink/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementAddressLink/Edit.cshtml
  1 +@model Maps.Entities.SettlementAddressLink
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>SettlementAddressLink</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="SettlementAddressLinkId" />
  22 + <div class="form-group">
  23 + <label asp-for="Begin" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Begin" class="form-control" />
  26 + <span asp-validation-for="Begin" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <label asp-for="Distance" class="col-md-2 control-label"></label>
  31 + <div class="col-md-10">
  32 + <input asp-for="Distance" class="form-control" />
  33 + <span asp-validation-for="Distance" class="text-danger" />
  34 + </div>
  35 + </div>
  36 + <div class="form-group">
  37 + <label asp-for="End" class="col-md-2 control-label"></label>
  38 + <div class="col-md-10">
  39 + <input asp-for="End" class="form-control" />
  40 + <span asp-validation-for="End" class="text-danger" />
  41 + </div>
  42 + </div>
  43 + <div class="form-group">
  44 + <label asp-for="RegionId" class="control-label col-md-2"></label>
  45 + <div class="col-md-10">
  46 + <select asp-for="RegionId" class="form-control" asp-items="ViewBag.RegionId"></select>
  47 + <span asp-validation-for="RegionId" class="text-danger" />
  48 + </div>
  49 + </div>
  50 + <div class="form-group">
  51 + <label asp-for="RoadId" class="control-label col-md-2"></label>
  52 + <div class="col-md-10">
  53 + <select asp-for="RoadId" class="form-control" asp-items="ViewBag.RoadId"></select>
  54 + <span asp-validation-for="RoadId" class="text-danger" />
  55 + </div>
  56 + </div>
  57 + <div class="form-group">
  58 + <label asp-for="SettlementId" class="control-label col-md-2"></label>
  59 + <div class="col-md-10">
  60 + <select asp-for="SettlementId" class="form-control" asp-items="ViewBag.SettlementId"></select>
  61 + <span asp-validation-for="SettlementId" class="text-danger" />
  62 + </div>
  63 + </div>
  64 + <div class="form-group">
  65 + <label asp-for="SettlementLocationId" class="control-label col-md-2"></label>
  66 + <div class="col-md-10">
  67 + <select asp-for="SettlementLocationId" class="form-control" asp-items="ViewBag.SettlementLocationId"></select>
  68 + <span asp-validation-for="SettlementLocationId" class="text-danger" />
  69 + </div>
  70 + </div>
  71 + <div class="form-group">
  72 + <div class="col-md-offset-2 col-md-10">
  73 + <input type="submit" value="Save" class="btn btn-default" />
  74 + </div>
  75 + </div>
  76 + </div>
  77 +</form>
  78 +
  79 +<div>
  80 + <a asp-action="Index">Back to List</a>
  81 +</div>
  82 +
  83 +</body>
  84 +</html>
src/Maps/Views/SettlementAddressLink/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementAddressLink/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.SettlementAddressLink>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Begin)
  23 + </th>
  24 + <th>
  25 + @Html.DisplayNameFor(model => model.Distance)
  26 + </th>
  27 + <th>
  28 + @Html.DisplayNameFor(model => model.End)
  29 + </th>
  30 + <th></th>
  31 + </tr>
  32 + </thead>
  33 + <tbody>
  34 +@foreach (var item in Model) {
  35 + <tr>
  36 + <td>
  37 + @Html.DisplayFor(modelItem => item.Begin)
  38 + </td>
  39 + <td>
  40 + @Html.DisplayFor(modelItem => item.Distance)
  41 + </td>
  42 + <td>
  43 + @Html.DisplayFor(modelItem => item.End)
  44 + </td>
  45 + <td>
  46 + <a asp-action="Edit" asp-route-id="@item.SettlementAddressLinkId">Edit</a> |
  47 + <a asp-action="Details" asp-route-id="@item.SettlementAddressLinkId">Details</a> |
  48 + <a asp-action="Delete" asp-route-id="@item.SettlementAddressLinkId">Delete</a>
  49 + </td>
  50 + </tr>
  51 +}
  52 + </tbody>
  53 +</table>
  54 +</body>
  55 +</html>
src/Maps/Views/SettlementLocation/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementLocation/Create.cshtml
  1 +@model Maps.Entities.SettlementLocation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>SettlementLocation</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Value" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Value" class="form-control" />
  25 + <span asp-validation-for="Value" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/SettlementLocation/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementLocation/Delete.cshtml
  1 +@model Maps.Entities.SettlementLocation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>SettlementLocation</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Value)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/SettlementLocation/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementLocation/Details.cshtml
  1 +@model Maps.Entities.SettlementLocation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>SettlementLocation</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Value)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Value)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.SettlementLocationId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/SettlementLocation/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementLocation/Edit.cshtml
  1 +@model Maps.Entities.SettlementLocation
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>SettlementLocation</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="SettlementLocationId" />
  22 + <div class="form-group">
  23 + <label asp-for="Value" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Value" class="form-control" />
  26 + <span asp-validation-for="Value" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/SettlementLocation/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SettlementLocation/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.SettlementLocation>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Value)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.SettlementLocationId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.SettlementLocationId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.SettlementLocationId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/Shared/Error.cshtml 0 → 100644
  1 +++ a/src/Maps/Views/Shared/Error.cshtml
  1 +@{
  2 + ViewData["Title"] = "Error";
  3 +}
  4 +
  5 +<h1 class="text-danger">Error.</h1>
  6 +<h2 class="text-danger">An error occurred while processing your request.</h2>
  7 +
  8 +<h3>Development Mode</h3>
  9 +<p>
  10 + Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
  11 +</p>
  12 +<p>
  13 + <strong>Development environment should not be enabled in deployed applications</strong>, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>, and restarting the application.
  14 +</p>
src/Maps/Views/Shared/_Layout.cshtml 0 → 100644
  1 +++ a/src/Maps/Views/Shared/_Layout.cshtml
  1 +<!DOCTYPE html>
  2 +<html>
  3 +<head>
  4 + <meta charset="utf-8" />
  5 + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6 + <title>@ViewData["Title"] - Maps</title>
  7 +
  8 + <environment names="Development">
  9 + <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
  10 + <link rel="stylesheet" href="~/css/site.css" />
  11 + </environment>
  12 + <environment names="Staging,Production">
  13 + <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/css/bootstrap.min.css"
  14 + asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css"
  15 + asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
  16 + <link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
  17 + </environment>
  18 + @Html.ApplicationInsightsJavaScript(TelemetryConfiguration)
  19 +</head>
  20 +<body>
  21 + <div class="navbar navbar-inverse navbar-fixed-top">
  22 + <div class="container">
  23 + <div class="navbar-header">
  24 + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  25 + <span class="sr-only">Toggle navigation</span>
  26 + <span class="icon-bar"></span>
  27 + <span class="icon-bar"></span>
  28 + <span class="icon-bar"></span>
  29 + </button>
  30 + <a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">Maps</a>
  31 + </div>
  32 + <div class="navbar-collapse collapse">
  33 + <ul class="nav navbar-nav">
  34 + <li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li>
  35 + <li><a asp-area="" asp-controller="Home" asp-action="About">About</a></li>
  36 + <li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li>
  37 + </ul>
  38 + </div>
  39 + </div>
  40 + </div>
  41 + <div class="container body-content">
  42 + @RenderBody()
  43 + <hr />
  44 + <footer>
  45 + <p>&copy; 2017 - Maps</p>
  46 + </footer>
  47 + </div>
  48 +
  49 + <environment names="Development">
  50 + <script src="~/lib/jquery/dist/jquery.js"></script>
  51 + <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
  52 + <script src="~/js/site.js" asp-append-version="true"></script>
  53 + </environment>
  54 + <environment names="Staging,Production">
  55 + <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js"
  56 + asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
  57 + asp-fallback-test="window.jQuery">
  58 + </script>
  59 + <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/bootstrap.min.js"
  60 + asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
  61 + asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal">
  62 + </script>
  63 + <script src="~/js/site.min.js" asp-append-version="true"></script>
  64 + </environment>
  65 +
  66 + @RenderSection("scripts", required: false)
  67 +</body>
  68 +</html>
src/Maps/Views/StateCommon/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/StateCommon/Create.cshtml
  1 +@model Maps.Entities.StateCommon
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>StateCommon</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Value" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Value" class="form-control" />
  25 + <span asp-validation-for="Value" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/StateCommon/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/StateCommon/Delete.cshtml
  1 +@model Maps.Entities.StateCommon
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>StateCommon</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Value)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/StateCommon/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/StateCommon/Details.cshtml
  1 +@model Maps.Entities.StateCommon
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>StateCommon</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Value)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Value)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.StateCommonId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/StateCommon/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/StateCommon/Edit.cshtml
  1 +@model Maps.Entities.StateCommon
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>StateCommon</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="StateCommonId" />
  22 + <div class="form-group">
  23 + <label asp-for="Value" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Value" class="form-control" />
  26 + <span asp-validation-for="Value" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/StateCommon/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/StateCommon/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.StateCommon>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Value)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Value)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.StateCommonId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.StateCommonId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.StateCommonId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/SurfaceTreatment/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceTreatment/Create.cshtml
  1 +@model Maps.Entities.SurfaceTreatment
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>SurfaceTreatment</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Name" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Name" class="form-control" />
  25 + <span asp-validation-for="Name" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/SurfaceTreatment/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceTreatment/Delete.cshtml
  1 +@model Maps.Entities.SurfaceTreatment
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>SurfaceTreatment</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Name)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/SurfaceTreatment/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceTreatment/Details.cshtml
  1 +@model Maps.Entities.SurfaceTreatment
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>SurfaceTreatment</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Name)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Name)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.SurfaceTreatmentId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/SurfaceTreatment/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceTreatment/Edit.cshtml
  1 +@model Maps.Entities.SurfaceTreatment
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>SurfaceTreatment</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="SurfaceTreatmentId" />
  22 + <div class="form-group">
  23 + <label asp-for="Name" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Name" class="form-control" />
  26 + <span asp-validation-for="Name" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/SurfaceTreatment/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceTreatment/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.SurfaceTreatment>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Name)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.SurfaceTreatmentId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.SurfaceTreatmentId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.SurfaceTreatmentId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/SurfaceType/Create.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceType/Create.cshtml
  1 +@model Maps.Entities.SurfaceType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Create</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Create">
  17 + <div class="form-horizontal">
  18 + <h4>SurfaceType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <div class="form-group">
  22 + <label asp-for="Name" class="col-md-2 control-label"></label>
  23 + <div class="col-md-10">
  24 + <input asp-for="Name" class="form-control" />
  25 + <span asp-validation-for="Name" class="text-danger" />
  26 + </div>
  27 + </div>
  28 + <div class="form-group">
  29 + <div class="col-md-offset-2 col-md-10">
  30 + <input type="submit" value="Create" class="btn btn-default" />
  31 + </div>
  32 + </div>
  33 + </div>
  34 +</form>
  35 +
  36 +<div>
  37 + <a asp-action="Index">Back to List</a>
  38 +</div>
  39 +
  40 +</body>
  41 +</html>
src/Maps/Views/SurfaceType/Delete.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceType/Delete.cshtml
  1 +@model Maps.Entities.SurfaceType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Delete</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<h3>Are you sure you want to delete this?</h3>
  17 +<div>
  18 + <h4>SurfaceType</h4>
  19 + <hr />
  20 + <dl class="dl-horizontal">
  21 + <dt>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </dt>
  24 + <dd>
  25 + @Html.DisplayFor(model => model.Name)
  26 + </dd>
  27 + </dl>
  28 +
  29 + <form asp-action="Delete">
  30 + <div class="form-actions no-color">
  31 + <input type="submit" value="Delete" class="btn btn-default" /> |
  32 + <a asp-action="Index">Back to List</a>
  33 + </div>
  34 + </form>
  35 +</div>
  36 +</body>
  37 +</html>
src/Maps/Views/SurfaceType/Details.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceType/Details.cshtml
  1 +@model Maps.Entities.SurfaceType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Details</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<div>
  17 + <h4>SurfaceType</h4>
  18 + <hr />
  19 + <dl class="dl-horizontal">
  20 + <dt>
  21 + @Html.DisplayNameFor(model => model.Name)
  22 + </dt>
  23 + <dd>
  24 + @Html.DisplayFor(model => model.Name)
  25 + </dd>
  26 + </dl>
  27 +</div>
  28 +<div>
  29 + <a asp-action="Edit" asp-route-id="@Model.SurfaceTypeId">Edit</a> |
  30 + <a asp-action="Index">Back to List</a>
  31 +</div>
  32 +</body>
  33 +</html>
src/Maps/Views/SurfaceType/Edit.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceType/Edit.cshtml
  1 +@model Maps.Entities.SurfaceType
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Edit</title>
  13 +</head>
  14 +<body>
  15 +
  16 +<form asp-action="Edit">
  17 + <div class="form-horizontal">
  18 + <h4>SurfaceType</h4>
  19 + <hr />
  20 + <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  21 + <input type="hidden" asp-for="SurfaceTypeId" />
  22 + <div class="form-group">
  23 + <label asp-for="Name" class="col-md-2 control-label"></label>
  24 + <div class="col-md-10">
  25 + <input asp-for="Name" class="form-control" />
  26 + <span asp-validation-for="Name" class="text-danger" />
  27 + </div>
  28 + </div>
  29 + <div class="form-group">
  30 + <div class="col-md-offset-2 col-md-10">
  31 + <input type="submit" value="Save" class="btn btn-default" />
  32 + </div>
  33 + </div>
  34 + </div>
  35 +</form>
  36 +
  37 +<div>
  38 + <a asp-action="Index">Back to List</a>
  39 +</div>
  40 +
  41 +</body>
  42 +</html>
src/Maps/Views/SurfaceType/Index.cshtml 0 → 100755
  1 +++ a/src/Maps/Views/SurfaceType/Index.cshtml
  1 +@model IEnumerable<Maps.Entities.SurfaceType>
  2 +
  3 +@{
  4 + Layout = null;
  5 +}
  6 +
  7 +<!DOCTYPE html>
  8 +
  9 +<html>
  10 +<head>
  11 + <meta name="viewport" content="width=device-width" />
  12 + <title>Index</title>
  13 +</head>
  14 +<body>
  15 +<p>
  16 + <a asp-action="Create">Create New</a>
  17 +</p>
  18 +<table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>
  22 + @Html.DisplayNameFor(model => model.Name)
  23 + </th>
  24 + <th></th>
  25 + </tr>
  26 + </thead>
  27 + <tbody>
  28 +@foreach (var item in Model) {
  29 + <tr>
  30 + <td>
  31 + @Html.DisplayFor(modelItem => item.Name)
  32 + </td>
  33 + <td>
  34 + <a asp-action="Edit" asp-route-id="@item.SurfaceTypeId">Edit</a> |
  35 + <a asp-action="Details" asp-route-id="@item.SurfaceTypeId">Details</a> |
  36 + <a asp-action="Delete" asp-route-id="@item.SurfaceTypeId">Delete</a>
  37 + </td>
  38 + </tr>
  39 +}
  40 + </tbody>
  41 +</table>
  42 +</body>
  43 +</html>
src/Maps/Views/_ViewImports.cshtml 0 → 100644
  1 +++ a/src/Maps/Views/_ViewImports.cshtml
  1 +@using Maps
  2 +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
  3 +@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration
src/Maps/Views/_ViewStart.cshtml 0 → 100644
  1 +++ a/src/Maps/Views/_ViewStart.cshtml
  1 +@{
  2 + Layout = "_Layout";
  3 +}
src/Maps/appsettings.json 0 → 100644
  1 +++ a/src/Maps/appsettings.json
  1 +{
  2 + "ApplicationInsights": {
  3 + "InstrumentationKey": ""
  4 + },
  5 + "Logging": {
  6 + "IncludeScopes": false,
  7 + "LogLevel": {
  8 + "Default": "Debug",
  9 + "System": "Information",
  10 + "Microsoft": "Information"
  11 + }
  12 + },
  13 + "DbContextSettings": {
  14 + "ConnectionString": "User ID=coremap;Password=5F9g4V9m;Host=195.248.225.149;Port=5432;Database=coremap;Pooling=true;"
  15 + }
  16 +}
0 \ No newline at end of file 17 \ No newline at end of file
src/Maps/bower.json 0 → 100644
  1 +++ a/src/Maps/bower.json
  1 +{
  2 + "name": "asp.net",
  3 + "private": true,
  4 + "dependencies": {
  5 + "bootstrap": "3.3.6",
  6 + "jquery": "2.2.0",
  7 + "jquery-validation": "1.14.0",
  8 + "jquery-validation-unobtrusive": "3.2.6"
  9 + }
  10 +}
src/Maps/bundleconfig.json 0 → 100644
  1 +++ a/src/Maps/bundleconfig.json
  1 +// Configure bundling and minification for the project.
  2 +// More info at https://go.microsoft.com/fwlink/?LinkId=808241
  3 +[
  4 + {
  5 + "outputFileName": "wwwroot/css/site.min.css",
  6 + // An array of relative input file paths. Globbing patterns supported
  7 + "inputFiles": [
  8 + "wwwroot/css/site.css"
  9 + ]
  10 + },
  11 + {
  12 + "outputFileName": "wwwroot/js/site.min.js",
  13 + "inputFiles": [
  14 + "wwwroot/js/site.js"
  15 + ],
  16 + // Optionally specify minification options
  17 + "minify": {
  18 + "enabled": true,
  19 + "renameLocals": true
  20 + },
  21 + // Optinally generate .map file
  22 + "sourceMap": false
  23 + }
  24 +]
src/Maps/project.json 0 → 100644
  1 +++ a/src/Maps/project.json
  1 +{
  2 + "dependencies": {
  3 + "Microsoft.NETCore.App": {
  4 + "version": "1.0.0",
  5 + "type": "platform"
  6 + },
  7 + "Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
  8 + "Microsoft.AspNetCore.Diagnostics": "1.0.0",
  9 + "Microsoft.AspNetCore.Mvc": "1.0.1",
  10 + "Microsoft.AspNetCore.Razor.Tools": {
  11 + "version": "1.0.0-preview2-final",
  12 + "type": "build"
  13 + },
  14 + "Microsoft.AspNetCore.Routing": "1.0.1",
  15 + "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
  16 + "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
  17 + "Microsoft.AspNetCore.StaticFiles": "1.0.0",
  18 + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
  19 + "Microsoft.Extensions.Configuration.Json": "1.0.0",
  20 + "Microsoft.Extensions.Logging": "1.0.1",
  21 + "Microsoft.Extensions.Logging.Console": "1.0.0",
  22 + "Microsoft.Extensions.Logging.Debug": "1.0.0",
  23 + "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
  24 + "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
  25 + "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview4-final",
  26 + "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
  27 + "version": "1.0.0-preview2-final",
  28 + "type": "build"
  29 + },
  30 + "Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
  31 + "version": "1.0.0-preview2-final",
  32 + "type": "build"
  33 + },
  34 + "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.2",
  35 + "Npgsql.EntityFrameworkCore.PostgreSQL.Design": "1.0.2",
  36 + "MapsDb": "1.0.0-*",
  37 + "MapsModels": "1.0.0-*"
  38 + },
  39 +
  40 + "tools": {
  41 + "BundlerMinifier.Core": "2.0.238",
  42 + "Microsoft.EntityFrameworkCore.Tools": {
  43 + "version": "1.0.0-preview2-final",
  44 + "imports": "portable-net45+win8+dnxcore50"
  45 + },
  46 + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview4-final",
  47 + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
  48 + "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
  49 + "version": "1.0.0-preview2-final",
  50 + "imports": [
  51 + "portable-net45+win8"
  52 + ]
  53 + }
  54 + },
  55 +
  56 + "frameworks": {
  57 + "netcoreapp1.0": {
  58 + "imports": [
  59 + "dotnet5.6",
  60 + "portable-net45+win8"
  61 + ]
  62 + }
  63 + },
  64 +
  65 + "buildOptions": {
  66 + "emitEntryPoint": true,
  67 + "preserveCompilationContext": true,
  68 + "debugType": "portable"
  69 + },
  70 +
  71 + "runtimeOptions": {
  72 + "configProperties": {
  73 + "System.GC.Server": true
  74 + }
  75 + },
  76 +
  77 + "publishOptions": {
  78 + "include": [
  79 + "wwwroot",
  80 + "**/*.cshtml",
  81 + "appsettings.json",
  82 + "web.config"
  83 + ]
  84 + },
  85 +
  86 + "scripts": {
  87 + "prepublish": ["bower install", "dotnet bundle"],
  88 + "postpublish": ["dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"]
  89 + }
  90 +}
0 \ No newline at end of file 91 \ No newline at end of file
src/Maps/web.config 0 → 100644
  1 +++ a/src/Maps/web.config
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<configuration>
  3 +
  4 + <!--
  5 + Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
  6 + -->
  7 +
  8 + <system.webServer>
  9 + <handlers>
  10 + <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
  11 + </handlers>
  12 + <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
  13 + </system.webServer>
  14 +</configuration>
src/MapsDb/DataService/BusStopDs.cs 0 → 100644
  1 +++ a/src/MapsDb/DataService/BusStopDs.cs
  1 +using System.Collections.Generic;
  2 +using System.Linq;
  3 +using System.Threading.Tasks;
  4 +using MapsDb.Interfeces;
  5 +using MapsDb.Models;
  6 +using MapsModels.DsModels;
  7 +
  8 +namespace MapsDb.DataService
  9 +{
  10 + public class BusStopDs : IBusStopDs
  11 + {
  12 + private PostgresDbContext _context;
  13 + public BusStopDs(){
  14 + _context = new PostgresDbContext();
  15 + }
  16 + public void Dispose()
  17 + {
  18 + _context.Dispose();
  19 + }
  20 +
  21 + public Task<IList<BusStopListDs>> GetAllBusStopAsync(){
  22 + return Task.Factory.StartNew(GetAllBusStop);
  23 + }
  24 + private IList<BusStopListDs> GetAllBusStop()
  25 + {
  26 + return _context.BusStop.Select(x => new BusStopListDs
  27 + {
  28 + Road = x.Road.Name,
  29 + Region = x.Region.Name,
  30 + Settlement = x.Settlement.Name,
  31 + LocationLeft = x.LocationLeft,
  32 + LocationRight = x.LocationRight,
  33 + StateCommon = x.StateCommon.Value
  34 + }).ToList();
  35 + }
  36 +
  37 + public Task SaveBusStopAsync(BusStop busStop){
  38 + return Task.Factory.StartNew(()=> { Save(busStop); });
  39 + }
  40 + private void Save(BusStop busStop)
  41 + {
  42 + var busStopFromDb = _context.BusStop.SingleOrDefault(x => x.BusStopId == busStop.BusStopId);;
  43 + if(busStopFromDb != null)
  44 + {
  45 + busStopFromDb = busStop;
  46 + }
  47 + else
  48 + {
  49 + _context.BusStop.Add(busStop);
  50 + }
  51 + }
  52 + public Task<BusStopDetailsDs> FindOneDetailsAsync(int Id){
  53 + return Task.Factory.StartNew(()=> { FindOneDetails(Id); });
  54 + }
  55 + private BusStopDetailsDs FindOneDetails(int Id){
  56 + return _context.BusStop.Where(x => x.BusStopId == Id).Select(x => new BusStopDetailsDs{
  57 + BusStopId = x.BusStopId,
  58 + Road = x.Road.Name,
  59 + Region = x.Region.Name,
  60 + Settlement = x.Settlement.Name,
  61 + LocationLeft = x.LocationLeft,
  62 + LocationRight = x.LocationRight,
  63 + StateCommon = x.StateCommon.Value,
  64 + AreaStopAvailability = x.AreaStopAvailability,
  65 + AreaLandAvailability = x.AreaLandAvailability,
  66 + PocketAvailability = x.PocketAvailability,
  67 + ToiletAvailability = x.ToiletAvailability,
  68 + YearBuild = x.YearBuild,
  69 + YearRepair = x.YearRepair
  70 + });
  71 + }
  72 + }
  73 +}
0 \ No newline at end of file 74 \ No newline at end of file
src/MapsDb/Interfaces/IBusStopDs.cs 0 → 100644
  1 +++ a/src/MapsDb/Interfaces/IBusStopDs.cs
  1 +using System.Collections.Generic;
  2 +using System.Threading.Tasks;
  3 +using MapsModels.DsModels;
  4 +using MapsDb.Models;
  5 +namespace MapsDb.Interfeces
  6 +{
  7 + public interface IBusStopDs
  8 + {
  9 + Task<IList<BusStopListDs>> GetAllBusStopAsync();
  10 + Task SaveBusStopAsync(BusStop busStop);
  11 + Task<BusStopDetailsDs> FindOneDetailsAsync(int Id);
  12 + }
  13 +}
0 \ No newline at end of file 14 \ No newline at end of file
src/MapsDb/Models/BusStop.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/BusStop.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class BusStop
  7 + {
  8 + public int BusStopId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public int? SettlementId { get; set; }
  12 + public double? LocationLeft { get; set; }
  13 + public double? LocationRight { get; set; }
  14 + public int? SurfaceTypeId { get; set; }
  15 + public int? CrossSectionNumber { get; set; }
  16 + public string Position { get; set; }
  17 + public int? AreaStopAvailability { get; set; }
  18 + public int? PocketAvailability { get; set; }
  19 + public int? AreaLandAvailability { get; set; }
  20 + public int? ToiletAvailability { get; set; }
  21 + public int? StateCommonId { get; set; }
  22 + public int? BusStationCardId { get; set; }
  23 + public double? BalanceCost { get; set; }
  24 + public string RepairCertificate { get; set; }
  25 + public int? DateActual { get; set; }
  26 + public int? YearBuild { get; set; }
  27 + public int? YearRepair { get; set; }
  28 +
  29 + public virtual Region Region { get; set; }
  30 + public virtual Road Road { get; set; }
  31 + public virtual Settlement Settlement { get; set; }
  32 + public virtual StateCommon StateCommon { get; set; }
  33 + public virtual SurfaceType SurfaceType { get; set; }
  34 + }
  35 +}
src/MapsDb/Models/CrossSection.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/CrossSection.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class CrossSection
  7 + {
  8 + public int CrossSectionId { get; set; }
  9 + public int? RegionId { get; set; }
  10 + public int? RoadId { get; set; }
  11 + public double? LocationLeft { get; set; }
  12 + public double? LocationRight { get; set; }
  13 + public string Direction { get; set; }
  14 + public int? SurfaceTypeId { get; set; }
  15 + public double? LengthSection { get; set; }
  16 + public double? LengthSurface { get; set; }
  17 + public double? DistanceEdge { get; set; }
  18 + public double? Width { get; set; }
  19 + public double? Angle { get; set; }
  20 + public int? TubeAvailability { get; set; }
  21 + public int? SafetyAvailability { get; set; }
  22 + public int? YearBuild { get; set; }
  23 + public int? YearRepair { get; set; }
  24 + public int? StateCommonId { get; set; }
  25 +
  26 + public virtual Region Region { get; set; }
  27 + public virtual Road Road { get; set; }
  28 + public virtual StateCommon StateCommon { get; set; }
  29 + public virtual SurfaceType SurfaceType { get; set; }
  30 + }
  31 +}
src/MapsDb/Models/DepartmentAffiliation.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/DepartmentAffiliation.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class DepartmentAffiliation
  7 + {
  8 + public DepartmentAffiliation()
  9 + {
  10 + ServiceObject = new HashSet<ServiceObject>();
  11 + }
  12 +
  13 + public int DepartmentAffiliationId { get; set; }
  14 + public string Name { get; set; }
  15 +
  16 + public virtual ICollection<ServiceObject> ServiceObject { get; set; }
  17 + }
  18 +}
src/MapsDb/Models/FlowIntensity.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/FlowIntensity.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class FlowIntensity
  7 + {
  8 + public int FlowIntensityId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public double? Location { get; set; }
  12 + public double? Begin { get; set; }
  13 + public double? End { get; set; }
  14 + public int? RoadDirectionId { get; set; }
  15 + public int? SettlementId { get; set; }
  16 + public int? IntensityTotal { get; set; }
  17 + public int? IntensityIncrease { get; set; }
  18 + public int? IntensityMoto { get; set; }
  19 + public int? IntensityMotoSidecar { get; set; }
  20 + public int? IntensityCar { get; set; }
  21 + public int? IntensityTruckTwo { get; set; }
  22 + public int? IntensityTruckTwoSix { get; set; }
  23 + public int? IntensityTruckSixEight { get; set; }
  24 + public int? IntensityTruckEightFourteen { get; set; }
  25 + public int? IntensityTruckFourteen { get; set; }
  26 + public int? IntensityLorryTwelve { get; set; }
  27 + public int? IntensityLorryTwelveTwenty { get; set; }
  28 + public int? IntensityLorryTwentyThirty { get; set; }
  29 + public int? IntensityLorryThirty { get; set; }
  30 + public int? IntensityTractorUnderTen { get; set; }
  31 + public int? IntensityTractorOverTen { get; set; }
  32 + public int? IntensityBus { get; set; }
  33 + public int? IntensityBusCoupled { get; set; }
  34 + public int? DateAdd { get; set; }
  35 +
  36 + public virtual Region Region { get; set; }
  37 + public virtual RoadDirection RoadDirection { get; set; }
  38 + public virtual Road Road { get; set; }
  39 + public virtual Settlement Settlement { get; set; }
  40 + }
  41 +}
src/MapsDb/Models/Organization.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/Organization.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class Organization
  7 + {
  8 + public Organization()
  9 + {
  10 + RoadService = new HashSet<RoadService>();
  11 + }
  12 +
  13 + public int OrganizationId { get; set; }
  14 + public string Name { get; set; }
  15 + public int? DateAdd { get; set; }
  16 +
  17 + public virtual ICollection<RoadService> RoadService { get; set; }
  18 + }
  19 +}
src/MapsDb/Models/Region.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/Region.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class Region
  7 + {
  8 + public Region()
  9 + {
  10 + BusStop = new HashSet<BusStop>();
  11 + CrossSection = new HashSet<CrossSection>();
  12 + FlowIntensity = new HashSet<FlowIntensity>();
  13 + RoadPassport = new HashSet<RoadPassport>();
  14 + RoadService = new HashSet<RoadService>();
  15 + RoadSurface = new HashSet<RoadSurface>();
  16 + RoadWidth = new HashSet<RoadWidth>();
  17 + ServiceObject = new HashSet<ServiceObject>();
  18 + SettlementAddressLink = new HashSet<SettlementAddressLink>();
  19 + }
  20 +
  21 + public int RegionId { get; set; }
  22 + public string Name { get; set; }
  23 + public int? Index { get; set; }
  24 +
  25 + public virtual ICollection<BusStop> BusStop { get; set; }
  26 + public virtual ICollection<CrossSection> CrossSection { get; set; }
  27 + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; }
  28 + public virtual ICollection<RoadPassport> RoadPassport { get; set; }
  29 + public virtual ICollection<RoadService> RoadService { get; set; }
  30 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  31 + public virtual ICollection<RoadWidth> RoadWidth { get; set; }
  32 + public virtual ICollection<ServiceObject> ServiceObject { get; set; }
  33 + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; }
  34 + }
  35 +}
src/MapsDb/Models/Road.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/Road.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class Road
  7 + {
  8 + public Road()
  9 + {
  10 + BusStop = new HashSet<BusStop>();
  11 + CrossSection = new HashSet<CrossSection>();
  12 + FlowIntensity = new HashSet<FlowIntensity>();
  13 + RoadPassport = new HashSet<RoadPassport>();
  14 + RoadService = new HashSet<RoadService>();
  15 + RoadSurface = new HashSet<RoadSurface>();
  16 + RoadWidth = new HashSet<RoadWidth>();
  17 + ServiceObject = new HashSet<ServiceObject>();
  18 + SettlementAddressLink = new HashSet<SettlementAddressLink>();
  19 + }
  20 +
  21 + public int RoadId { get; set; }
  22 + public string Name { get; set; }
  23 + public string Value { get; set; }
  24 + public double? Length { get; set; }
  25 + public string HistoricalBackground { get; set; }
  26 + public string EconomicValue { get; set; }
  27 + public string LawDoc { get; set; }
  28 + public string AcceptTransferDoc { get; set; }
  29 + public string AcceptanceDoc { get; set; }
  30 + public string AuthorityAct { get; set; }
  31 + public int? RoadTypeId { get; set; }
  32 + public int Index { get; set; }
  33 +
  34 + public virtual ICollection<BusStop> BusStop { get; set; }
  35 + public virtual ICollection<CrossSection> CrossSection { get; set; }
  36 + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; }
  37 + public virtual ICollection<RoadPassport> RoadPassport { get; set; }
  38 + public virtual ICollection<RoadService> RoadService { get; set; }
  39 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  40 + public virtual ICollection<RoadWidth> RoadWidth { get; set; }
  41 + public virtual ICollection<ServiceObject> ServiceObject { get; set; }
  42 + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; }
  43 + public virtual RoadType RoadType { get; set; }
  44 + }
  45 +}
src/MapsDb/Models/RoadCategory.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadCategory.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadCategory
  7 + {
  8 + public int RoadCategoryId { get; set; }
  9 + public string Value { get; set; }
  10 + }
  11 +}
src/MapsDb/Models/RoadDirection.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadDirection.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadDirection
  7 + {
  8 + public RoadDirection()
  9 + {
  10 + FlowIntensity = new HashSet<FlowIntensity>();
  11 + RoadService = new HashSet<RoadService>();
  12 + RoadSurface = new HashSet<RoadSurface>();
  13 + }
  14 +
  15 + public int RoadDirectionId { get; set; }
  16 + public string DirectionName { get; set; }
  17 +
  18 + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; }
  19 + public virtual ICollection<RoadService> RoadService { get; set; }
  20 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  21 + }
  22 +}
src/MapsDb/Models/RoadPassport.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadPassport.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadPassport
  7 + {
  8 + public int RoadPassportId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public double? Begin { get; set; }
  12 + public double? End { get; set; }
  13 +
  14 + public virtual Region Region { get; set; }
  15 + public virtual Road Road { get; set; }
  16 + }
  17 +}
src/MapsDb/Models/RoadService.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadService.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadService
  7 + {
  8 + public int RoadServiceId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public int? RoadDirectionId { get; set; }
  12 + public int? OrganizationId { get; set; }
  13 + public double? Begin { get; set; }
  14 + public double? End { get; set; }
  15 + public int? YearBegin { get; set; }
  16 +
  17 + public virtual Organization Organization { get; set; }
  18 + public virtual Region Region { get; set; }
  19 + public virtual RoadDirection RoadDirection { get; set; }
  20 + public virtual Road Road { get; set; }
  21 + }
  22 +}
src/MapsDb/Models/RoadSurface.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadSurface.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadSurface
  7 + {
  8 + public int RoadSurfaceId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public int? RoadDirectionId { get; set; }
  12 + public int? SurfaceTypeId { get; set; }
  13 + public int? SurfaceTreatmentId { get; set; }
  14 + public int? StateCommonId { get; set; }
  15 + public int? CrossSectionNumber { get; set; }
  16 + public double? Begin { get; set; }
  17 + public double? End { get; set; }
  18 + public int? LaneCountLeft { get; set; }
  19 + public int? LaneCountRight { get; set; }
  20 + public string RoadSurfaceConstructionId { get; set; }
  21 + public double? ElastisityModule { get; set; }
  22 +
  23 + public virtual Region Region { get; set; }
  24 + public virtual RoadDirection RoadDirection { get; set; }
  25 + public virtual Road Road { get; set; }
  26 + public virtual StateCommon StateCommon { get; set; }
  27 + public virtual SurfaceTreatment SurfaceTreatment { get; set; }
  28 + public virtual SurfaceType SurfaceType { get; set; }
  29 + }
  30 +}
src/MapsDb/Models/RoadType.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadType.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadType
  7 + {
  8 + public RoadType()
  9 + {
  10 + Road = new HashSet<Road>();
  11 + }
  12 +
  13 + public int RoadTypeId { get; set; }
  14 + public string Value { get; set; }
  15 + public string Definition { get; set; }
  16 +
  17 + public virtual ICollection<Road> Road { get; set; }
  18 + }
  19 +}
src/MapsDb/Models/RoadWidth.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/RoadWidth.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class RoadWidth
  7 + {
  8 + public int RoadWidthId { get; set; }
  9 + public int? RegionId { get; set; }
  10 + public int? RoadId { get; set; }
  11 + public double? Begin { get; set; }
  12 + public double? End { get; set; }
  13 + public double? WidthRoadsideLeft { get; set; }
  14 + public double? WidthReverseRoad { get; set; }
  15 + public double? WidthStrip { get; set; }
  16 + public double? WidthRoadwayForward { get; set; }
  17 + public double? WidthRoadsideRight { get; set; }
  18 + public double? CountLaneLeft { get; set; }
  19 + public double? CountLaneRight { get; set; }
  20 +
  21 + public virtual Region Region { get; set; }
  22 + public virtual Road Road { get; set; }
  23 + }
  24 +}
src/MapsDb/Models/ServiceObject.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/ServiceObject.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class ServiceObject
  7 + {
  8 + public int ServiceObjectId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public int? ServiceObjectTypeId { get; set; }
  12 + public int? SettlementId { get; set; }
  13 + public int? DepartmentAffiliationId { get; set; }
  14 + public double? LocationRight { get; set; }
  15 + public double? LocationLeft { get; set; }
  16 + public double? LocationAxis { get; set; }
  17 + public double? Distance { get; set; }
  18 + public double? Capacity { get; set; }
  19 + public string ArrangementElements { get; set; }
  20 +
  21 + public virtual DepartmentAffiliation DepartmentAffiliation { get; set; }
  22 + public virtual Region Region { get; set; }
  23 + public virtual Road Road { get; set; }
  24 + public virtual ServiceObjectType ServiceObjectType { get; set; }
  25 + public virtual Settlement Settlement { get; set; }
  26 + }
  27 +}
src/MapsDb/Models/ServiceObjectType.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/ServiceObjectType.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class ServiceObjectType
  7 + {
  8 + public ServiceObjectType()
  9 + {
  10 + ServiceObject = new HashSet<ServiceObject>();
  11 + }
  12 +
  13 + public int ServiceObjectTypeId { get; set; }
  14 + public string Name { get; set; }
  15 +
  16 + public virtual ICollection<ServiceObject> ServiceObject { get; set; }
  17 + }
  18 +}
src/MapsDb/Models/Settlement.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/Settlement.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class Settlement
  7 + {
  8 + public Settlement()
  9 + {
  10 + BusStop = new HashSet<BusStop>();
  11 + FlowIntensity = new HashSet<FlowIntensity>();
  12 + ServiceObject = new HashSet<ServiceObject>();
  13 + SettlementAddressLink = new HashSet<SettlementAddressLink>();
  14 + }
  15 +
  16 + public int SettlementId { get; set; }
  17 + public string Name { get; set; }
  18 + public string Sign { get; set; }
  19 +
  20 + public virtual ICollection<BusStop> BusStop { get; set; }
  21 + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; }
  22 + public virtual ICollection<ServiceObject> ServiceObject { get; set; }
  23 + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; }
  24 + }
  25 +}
src/MapsDb/Models/SettlementAddressLink.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/SettlementAddressLink.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class SettlementAddressLink
  7 + {
  8 + public int SettlementAddressLinkId { get; set; }
  9 + public int? RoadId { get; set; }
  10 + public int? RegionId { get; set; }
  11 + public int? SettlementLocationId { get; set; }
  12 + public int? SettlementId { get; set; }
  13 + public double? Begin { get; set; }
  14 + public double? End { get; set; }
  15 + public double? Distance { get; set; }
  16 +
  17 + public virtual Region Region { get; set; }
  18 + public virtual Road Road { get; set; }
  19 + public virtual Settlement Settlement { get; set; }
  20 + public virtual SettlementLocation SettlementLocation { get; set; }
  21 + }
  22 +}
src/MapsDb/Models/SettlementLocation.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/SettlementLocation.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class SettlementLocation
  7 + {
  8 + public SettlementLocation()
  9 + {
  10 + SettlementAddressLink = new HashSet<SettlementAddressLink>();
  11 + }
  12 +
  13 + public int SettlementLocationId { get; set; }
  14 + public string Value { get; set; }
  15 +
  16 + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; }
  17 + }
  18 +}
src/MapsDb/Models/StateCommon.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/StateCommon.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class StateCommon
  7 + {
  8 + public StateCommon()
  9 + {
  10 + BusStop = new HashSet<BusStop>();
  11 + CrossSection = new HashSet<CrossSection>();
  12 + RoadSurface = new HashSet<RoadSurface>();
  13 + }
  14 +
  15 + public int StateCommonId { get; set; }
  16 + public string Value { get; set; }
  17 +
  18 + public virtual ICollection<BusStop> BusStop { get; set; }
  19 + public virtual ICollection<CrossSection> CrossSection { get; set; }
  20 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  21 + }
  22 +}
src/MapsDb/Models/SurfaceTreatment.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/SurfaceTreatment.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class SurfaceTreatment
  7 + {
  8 + public SurfaceTreatment()
  9 + {
  10 + RoadSurface = new HashSet<RoadSurface>();
  11 + }
  12 +
  13 + public int SurfaceTreatmentId { get; set; }
  14 + public string Name { get; set; }
  15 +
  16 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  17 + }
  18 +}
src/MapsDb/Models/SurfaceType.cs 0 → 100644
  1 +++ a/src/MapsDb/Models/SurfaceType.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +
  4 +namespace MapsDb.Models
  5 +{
  6 + public partial class SurfaceType
  7 + {
  8 + public SurfaceType()
  9 + {
  10 + BusStop = new HashSet<BusStop>();
  11 + CrossSection = new HashSet<CrossSection>();
  12 + RoadSurface = new HashSet<RoadSurface>();
  13 + }
  14 +
  15 + public int SurfaceTypeId { get; set; }
  16 + public string Name { get; set; }
  17 +
  18 + public virtual ICollection<BusStop> BusStop { get; set; }
  19 + public virtual ICollection<CrossSection> CrossSection { get; set; }
  20 + public virtual ICollection<RoadSurface> RoadSurface { get; set; }
  21 + }
  22 +}
src/MapsDb/PostgresDbContext.cs 0 → 100644
  1 +++ a/src/MapsDb/PostgresDbContext.cs
  1 +using System;
  2 +using Microsoft.EntityFrameworkCore;
  3 +using Microsoft.EntityFrameworkCore.Metadata;
  4 +using MapsDb.Models;
  5 +namespace MapsDb
  6 +{
  7 + public partial class PostgresDbContext : DbContext
  8 + {
  9 + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
  10 + {
  11 + #warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings.
  12 + optionsBuilder.UseNpgsql(@"User ID=coremap;Password=5F9g4V9m;Host=195.248.225.149;Port=5432;Database=coremap;Pooling=true;");
  13 + }
  14 +
  15 + protected override void OnModelCreating(ModelBuilder modelBuilder)
  16 + {
  17 + modelBuilder.Entity<BusStop>(entity =>
  18 + {
  19 + entity.ToTable("bus_stop");
  20 +
  21 + entity.Property(e => e.BusStopId).HasColumnName("bus_stop_id");
  22 +
  23 + entity.Property(e => e.AreaLandAvailability).HasColumnName("area_land_availability");
  24 +
  25 + entity.Property(e => e.AreaStopAvailability).HasColumnName("area_stop_availability");
  26 +
  27 + entity.Property(e => e.BalanceCost).HasColumnName("balance_cost");
  28 +
  29 + entity.Property(e => e.BusStationCardId).HasColumnName("bus_station_card_id");
  30 +
  31 + entity.Property(e => e.CrossSectionNumber).HasColumnName("cross_section_number");
  32 +
  33 + entity.Property(e => e.DateActual).HasColumnName("date_actual");
  34 +
  35 + entity.Property(e => e.LocationLeft).HasColumnName("location_left");
  36 +
  37 + entity.Property(e => e.LocationRight).HasColumnName("location_right");
  38 +
  39 + entity.Property(e => e.PocketAvailability).HasColumnName("pocket_availability");
  40 +
  41 + entity.Property(e => e.Position)
  42 + .HasColumnName("position")
  43 + .HasColumnType("varchar")
  44 + .HasMaxLength(255);
  45 +
  46 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  47 +
  48 + entity.Property(e => e.RepairCertificate)
  49 + .HasColumnName("repair_certificate")
  50 + .HasColumnType("varchar")
  51 + .HasMaxLength(255);
  52 +
  53 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  54 +
  55 + entity.Property(e => e.SettlementId).HasColumnName("settlement_id");
  56 +
  57 + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id");
  58 +
  59 + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id");
  60 +
  61 + entity.Property(e => e.ToiletAvailability).HasColumnName("toilet_availability");
  62 +
  63 + entity.Property(e => e.YearBuild).HasColumnName("year_build");
  64 +
  65 + entity.Property(e => e.YearRepair).HasColumnName("year_repair");
  66 +
  67 + entity.HasOne(d => d.Region)
  68 + .WithMany(p => p.BusStop)
  69 + .HasForeignKey(d => d.RegionId)
  70 + .OnDelete(DeleteBehavior.Cascade)
  71 + .HasConstraintName("bus_stop_region_id_fkey");
  72 +
  73 + entity.HasOne(d => d.Road)
  74 + .WithMany(p => p.BusStop)
  75 + .HasForeignKey(d => d.RoadId)
  76 + .OnDelete(DeleteBehavior.Cascade)
  77 + .HasConstraintName("bus_stop_road_id_fkey");
  78 +
  79 + entity.HasOne(d => d.Settlement)
  80 + .WithMany(p => p.BusStop)
  81 + .HasForeignKey(d => d.SettlementId)
  82 + .OnDelete(DeleteBehavior.Cascade)
  83 + .HasConstraintName("bus_stop_settlement_id_fkey");
  84 +
  85 + entity.HasOne(d => d.StateCommon)
  86 + .WithMany(p => p.BusStop)
  87 + .HasForeignKey(d => d.StateCommonId)
  88 + .OnDelete(DeleteBehavior.Cascade)
  89 + .HasConstraintName("bus_stop_state_common_id_fkey");
  90 +
  91 + entity.HasOne(d => d.SurfaceType)
  92 + .WithMany(p => p.BusStop)
  93 + .HasForeignKey(d => d.SurfaceTypeId)
  94 + .OnDelete(DeleteBehavior.Cascade)
  95 + .HasConstraintName("bus_stop_surface_type_id_fkey");
  96 + });
  97 +
  98 + modelBuilder.Entity<CrossSection>(entity =>
  99 + {
  100 + entity.ToTable("cross_section");
  101 +
  102 + entity.Property(e => e.CrossSectionId).HasColumnName("cross_section_id");
  103 +
  104 + entity.Property(e => e.Angle).HasColumnName("angle");
  105 +
  106 + entity.Property(e => e.Direction)
  107 + .HasColumnName("direction")
  108 + .HasColumnType("varchar")
  109 + .HasMaxLength(255);
  110 +
  111 + entity.Property(e => e.DistanceEdge).HasColumnName("distance_edge");
  112 +
  113 + entity.Property(e => e.LengthSection).HasColumnName("length_section");
  114 +
  115 + entity.Property(e => e.LengthSurface).HasColumnName("length_surface");
  116 +
  117 + entity.Property(e => e.LocationLeft).HasColumnName("location_left");
  118 +
  119 + entity.Property(e => e.LocationRight).HasColumnName("location_right");
  120 +
  121 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  122 +
  123 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  124 +
  125 + entity.Property(e => e.SafetyAvailability).HasColumnName("safety_availability");
  126 +
  127 + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id");
  128 +
  129 + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id");
  130 +
  131 + entity.Property(e => e.TubeAvailability).HasColumnName("tube_availability");
  132 +
  133 + entity.Property(e => e.Width).HasColumnName("width");
  134 +
  135 + entity.Property(e => e.YearBuild).HasColumnName("year_build");
  136 +
  137 + entity.Property(e => e.YearRepair).HasColumnName("year_repair");
  138 +
  139 + entity.HasOne(d => d.Region)
  140 + .WithMany(p => p.CrossSection)
  141 + .HasForeignKey(d => d.RegionId)
  142 + .OnDelete(DeleteBehavior.Cascade)
  143 + .HasConstraintName("cross_section_region_id_fkey");
  144 +
  145 + entity.HasOne(d => d.Road)
  146 + .WithMany(p => p.CrossSection)
  147 + .HasForeignKey(d => d.RoadId)
  148 + .OnDelete(DeleteBehavior.Cascade)
  149 + .HasConstraintName("cross_section_road_id_fkey");
  150 +
  151 + entity.HasOne(d => d.StateCommon)
  152 + .WithMany(p => p.CrossSection)
  153 + .HasForeignKey(d => d.StateCommonId)
  154 + .OnDelete(DeleteBehavior.Cascade)
  155 + .HasConstraintName("cross_section_state_common_id_fkey");
  156 +
  157 + entity.HasOne(d => d.SurfaceType)
  158 + .WithMany(p => p.CrossSection)
  159 + .HasForeignKey(d => d.SurfaceTypeId)
  160 + .OnDelete(DeleteBehavior.Cascade)
  161 + .HasConstraintName("cross_section_surface_type_id_fkey");
  162 + });
  163 +
  164 + modelBuilder.Entity<DepartmentAffiliation>(entity =>
  165 + {
  166 + entity.ToTable("department_affiliation");
  167 +
  168 + entity.Property(e => e.DepartmentAffiliationId).HasColumnName("department_affiliation_id");
  169 +
  170 + entity.Property(e => e.Name)
  171 + .HasColumnName("name")
  172 + .HasColumnType("varchar")
  173 + .HasMaxLength(255);
  174 + });
  175 +
  176 + modelBuilder.Entity<FlowIntensity>(entity =>
  177 + {
  178 + entity.ToTable("flow_intensity");
  179 +
  180 + entity.Property(e => e.FlowIntensityId).HasColumnName("flow_intensity_id");
  181 +
  182 + entity.Property(e => e.Begin).HasColumnName("begin");
  183 +
  184 + entity.Property(e => e.DateAdd).HasColumnName("date_add");
  185 +
  186 + entity.Property(e => e.End).HasColumnName("end");
  187 +
  188 + entity.Property(e => e.IntensityBus).HasColumnName("intensity_bus");
  189 +
  190 + entity.Property(e => e.IntensityBusCoupled).HasColumnName("intensity_bus_coupled");
  191 +
  192 + entity.Property(e => e.IntensityCar).HasColumnName("intensity_car");
  193 +
  194 + entity.Property(e => e.IntensityIncrease).HasColumnName("intensity_increase");
  195 +
  196 + entity.Property(e => e.IntensityLorryThirty).HasColumnName("intensity_lorry_thirty");
  197 +
  198 + entity.Property(e => e.IntensityLorryTwelve).HasColumnName("intensity_lorry_twelve");
  199 +
  200 + entity.Property(e => e.IntensityLorryTwelveTwenty).HasColumnName("intensity_lorry_twelve_twenty");
  201 +
  202 + entity.Property(e => e.IntensityLorryTwentyThirty).HasColumnName("intensity_lorry_twenty_thirty");
  203 +
  204 + entity.Property(e => e.IntensityMoto).HasColumnName("intensity_moto");
  205 +
  206 + entity.Property(e => e.IntensityMotoSidecar).HasColumnName("intensity_moto_sidecar");
  207 +
  208 + entity.Property(e => e.IntensityTotal).HasColumnName("intensity_total");
  209 +
  210 + entity.Property(e => e.IntensityTractorOverTen).HasColumnName("intensity_tractor_over_ten");
  211 +
  212 + entity.Property(e => e.IntensityTractorUnderTen).HasColumnName("intensity_tractor_under_ten");
  213 +
  214 + entity.Property(e => e.IntensityTruckEightFourteen).HasColumnName("intensity_truck_eight_fourteen");
  215 +
  216 + entity.Property(e => e.IntensityTruckFourteen).HasColumnName("intensity_truck_fourteen");
  217 +
  218 + entity.Property(e => e.IntensityTruckSixEight).HasColumnName("intensity_truck_six_eight");
  219 +
  220 + entity.Property(e => e.IntensityTruckTwo).HasColumnName("intensity_truck_two");
  221 +
  222 + entity.Property(e => e.IntensityTruckTwoSix).HasColumnName("intensity_truck_two_six");
  223 +
  224 + entity.Property(e => e.Location).HasColumnName("location");
  225 +
  226 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  227 +
  228 + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id");
  229 +
  230 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  231 +
  232 + entity.Property(e => e.SettlementId).HasColumnName("settlement_id");
  233 +
  234 + entity.HasOne(d => d.Region)
  235 + .WithMany(p => p.FlowIntensity)
  236 + .HasForeignKey(d => d.RegionId)
  237 + .OnDelete(DeleteBehavior.Cascade)
  238 + .HasConstraintName("flow_intensity_region_id_fkey");
  239 +
  240 + entity.HasOne(d => d.RoadDirection)
  241 + .WithMany(p => p.FlowIntensity)
  242 + .HasForeignKey(d => d.RoadDirectionId)
  243 + .OnDelete(DeleteBehavior.Cascade)
  244 + .HasConstraintName("flow_intensity_road_direction_id_fkey");
  245 +
  246 + entity.HasOne(d => d.Road)
  247 + .WithMany(p => p.FlowIntensity)
  248 + .HasForeignKey(d => d.RoadId)
  249 + .OnDelete(DeleteBehavior.Cascade)
  250 + .HasConstraintName("flow_intensity_road_id_fkey");
  251 +
  252 + entity.HasOne(d => d.Settlement)
  253 + .WithMany(p => p.FlowIntensity)
  254 + .HasForeignKey(d => d.SettlementId)
  255 + .OnDelete(DeleteBehavior.Cascade)
  256 + .HasConstraintName("flow_intensity_settlement_id_fkey");
  257 + });
  258 +
  259 + modelBuilder.Entity<Organization>(entity =>
  260 + {
  261 + entity.ToTable("organization");
  262 +
  263 + entity.Property(e => e.OrganizationId).HasColumnName("organization_id");
  264 +
  265 + entity.Property(e => e.DateAdd).HasColumnName("date_add");
  266 +
  267 + entity.Property(e => e.Name)
  268 + .IsRequired()
  269 + .HasColumnName("name")
  270 + .HasColumnType("varchar")
  271 + .HasMaxLength(255);
  272 + });
  273 +
  274 + modelBuilder.Entity<Region>(entity =>
  275 + {
  276 + entity.ToTable("region");
  277 +
  278 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  279 +
  280 + entity.Property(e => e.Index).HasColumnName("index");
  281 +
  282 + entity.Property(e => e.Name)
  283 + .HasColumnName("name")
  284 + .HasColumnType("varchar")
  285 + .HasMaxLength(255);
  286 + });
  287 +
  288 + modelBuilder.Entity<Road>(entity =>
  289 + {
  290 + entity.ToTable("road");
  291 +
  292 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  293 +
  294 + entity.Property(e => e.AcceptTransferDoc)
  295 + .HasColumnName("accept_transfer_doc")
  296 + .HasColumnType("varchar")
  297 + .HasMaxLength(255);
  298 +
  299 + entity.Property(e => e.AcceptanceDoc)
  300 + .HasColumnName("acceptance_doc")
  301 + .HasColumnType("varchar")
  302 + .HasMaxLength(255);
  303 +
  304 + entity.Property(e => e.AuthorityAct)
  305 + .HasColumnName("authority_act")
  306 + .HasColumnType("varchar")
  307 + .HasMaxLength(255);
  308 +
  309 + entity.Property(e => e.EconomicValue).HasColumnName("economic_value");
  310 +
  311 + entity.Property(e => e.HistoricalBackground).HasColumnName("historical_background");
  312 +
  313 + entity.Property(e => e.Index).HasColumnName("index");
  314 +
  315 + entity.Property(e => e.LawDoc)
  316 + .HasColumnName("law_doc")
  317 + .HasColumnType("varchar")
  318 + .HasMaxLength(255);
  319 +
  320 + entity.Property(e => e.Length).HasColumnName("length");
  321 +
  322 + entity.Property(e => e.Name)
  323 + .HasColumnName("name")
  324 + .HasColumnType("varchar")
  325 + .HasMaxLength(255);
  326 +
  327 + entity.Property(e => e.RoadTypeId).HasColumnName("road_type_id");
  328 +
  329 + entity.Property(e => e.Value).HasColumnName("value");
  330 +
  331 + entity.HasOne(d => d.RoadType)
  332 + .WithMany(p => p.Road)
  333 + .HasForeignKey(d => d.RoadTypeId)
  334 + .OnDelete(DeleteBehavior.Cascade)
  335 + .HasConstraintName("road_road_type_id_fkey");
  336 + });
  337 +
  338 + modelBuilder.Entity<RoadCategory>(entity =>
  339 + {
  340 + entity.ToTable("road_category");
  341 +
  342 + entity.Property(e => e.RoadCategoryId).HasColumnName("road_category_id");
  343 +
  344 + entity.Property(e => e.Value)
  345 + .HasColumnName("value")
  346 + .HasColumnType("varchar")
  347 + .HasMaxLength(255);
  348 + });
  349 +
  350 + modelBuilder.Entity<RoadDirection>(entity =>
  351 + {
  352 + entity.ToTable("road_direction");
  353 +
  354 + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id");
  355 +
  356 + entity.Property(e => e.DirectionName)
  357 + .IsRequired()
  358 + .HasColumnName("direction_name")
  359 + .HasColumnType("varchar")
  360 + .HasMaxLength(255);
  361 + });
  362 +
  363 + modelBuilder.Entity<RoadPassport>(entity =>
  364 + {
  365 + entity.ToTable("road_passport");
  366 +
  367 + entity.Property(e => e.RoadPassportId).HasColumnName("road_passport_id");
  368 +
  369 + entity.Property(e => e.Begin).HasColumnName("begin");
  370 +
  371 + entity.Property(e => e.End).HasColumnName("end");
  372 +
  373 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  374 +
  375 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  376 +
  377 + entity.HasOne(d => d.Region)
  378 + .WithMany(p => p.RoadPassport)
  379 + .HasForeignKey(d => d.RegionId)
  380 + .OnDelete(DeleteBehavior.Cascade)
  381 + .HasConstraintName("road_passport_region_id_fkey");
  382 +
  383 + entity.HasOne(d => d.Road)
  384 + .WithMany(p => p.RoadPassport)
  385 + .HasForeignKey(d => d.RoadId)
  386 + .OnDelete(DeleteBehavior.Cascade)
  387 + .HasConstraintName("road_passport_road_id_fkey");
  388 + });
  389 +
  390 + modelBuilder.Entity<RoadService>(entity =>
  391 + {
  392 + entity.ToTable("road_service");
  393 +
  394 + entity.Property(e => e.RoadServiceId).HasColumnName("road_service_id");
  395 +
  396 + entity.Property(e => e.Begin).HasColumnName("begin");
  397 +
  398 + entity.Property(e => e.End).HasColumnName("end");
  399 +
  400 + entity.Property(e => e.OrganizationId).HasColumnName("organization_id");
  401 +
  402 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  403 +
  404 + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id");
  405 +
  406 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  407 +
  408 + entity.Property(e => e.YearBegin).HasColumnName("year_begin");
  409 +
  410 + entity.HasOne(d => d.Organization)
  411 + .WithMany(p => p.RoadService)
  412 + .HasForeignKey(d => d.OrganizationId)
  413 + .OnDelete(DeleteBehavior.Cascade)
  414 + .HasConstraintName("road_service_organization_id_fkey");
  415 +
  416 + entity.HasOne(d => d.Region)
  417 + .WithMany(p => p.RoadService)
  418 + .HasForeignKey(d => d.RegionId)
  419 + .OnDelete(DeleteBehavior.Cascade)
  420 + .HasConstraintName("road_service_region_id_fkey");
  421 +
  422 + entity.HasOne(d => d.RoadDirection)
  423 + .WithMany(p => p.RoadService)
  424 + .HasForeignKey(d => d.RoadDirectionId)
  425 + .OnDelete(DeleteBehavior.Cascade)
  426 + .HasConstraintName("road_service_road_direction_id_fkey");
  427 +
  428 + entity.HasOne(d => d.Road)
  429 + .WithMany(p => p.RoadService)
  430 + .HasForeignKey(d => d.RoadId)
  431 + .OnDelete(DeleteBehavior.Cascade)
  432 + .HasConstraintName("road_service_road_id_fkey");
  433 + });
  434 +
  435 + modelBuilder.Entity<RoadSurface>(entity =>
  436 + {
  437 + entity.ToTable("road_surface");
  438 +
  439 + entity.Property(e => e.RoadSurfaceId).HasColumnName("road_surface_id");
  440 +
  441 + entity.Property(e => e.Begin).HasColumnName("begin");
  442 +
  443 + entity.Property(e => e.CrossSectionNumber).HasColumnName("cross_section_number");
  444 +
  445 + entity.Property(e => e.ElastisityModule).HasColumnName("elastisity_module");
  446 +
  447 + entity.Property(e => e.End).HasColumnName("end");
  448 +
  449 + entity.Property(e => e.LaneCountLeft).HasColumnName("lane_count_left");
  450 +
  451 + entity.Property(e => e.LaneCountRight).HasColumnName("lane_count_right");
  452 +
  453 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  454 +
  455 + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id");
  456 +
  457 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  458 +
  459 + entity.Property(e => e.RoadSurfaceConstructionId)
  460 + .HasColumnName("road_surface_construction_id")
  461 + .HasColumnType("varchar")
  462 + .HasMaxLength(255);
  463 +
  464 + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id");
  465 +
  466 + entity.Property(e => e.SurfaceTreatmentId).HasColumnName("surface_treatment_id");
  467 +
  468 + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id");
  469 +
  470 + entity.HasOne(d => d.Region)
  471 + .WithMany(p => p.RoadSurface)
  472 + .HasForeignKey(d => d.RegionId)
  473 + .OnDelete(DeleteBehavior.Cascade)
  474 + .HasConstraintName("road_surface_region_id_fkey");
  475 +
  476 + entity.HasOne(d => d.RoadDirection)
  477 + .WithMany(p => p.RoadSurface)
  478 + .HasForeignKey(d => d.RoadDirectionId)
  479 + .OnDelete(DeleteBehavior.Cascade)
  480 + .HasConstraintName("road_surface_road_direction_id_fkey");
  481 +
  482 + entity.HasOne(d => d.Road)
  483 + .WithMany(p => p.RoadSurface)
  484 + .HasForeignKey(d => d.RoadId)
  485 + .OnDelete(DeleteBehavior.Cascade)
  486 + .HasConstraintName("road_surface_road_id_fkey");
  487 +
  488 + entity.HasOne(d => d.StateCommon)
  489 + .WithMany(p => p.RoadSurface)
  490 + .HasForeignKey(d => d.StateCommonId)
  491 + .OnDelete(DeleteBehavior.Cascade)
  492 + .HasConstraintName("road_surface_state_common_id_fkey");
  493 +
  494 + entity.HasOne(d => d.SurfaceTreatment)
  495 + .WithMany(p => p.RoadSurface)
  496 + .HasForeignKey(d => d.SurfaceTreatmentId)
  497 + .OnDelete(DeleteBehavior.Cascade)
  498 + .HasConstraintName("road_surface_surface_treatment_id_fkey");
  499 +
  500 + entity.HasOne(d => d.SurfaceType)
  501 + .WithMany(p => p.RoadSurface)
  502 + .HasForeignKey(d => d.SurfaceTypeId)
  503 + .OnDelete(DeleteBehavior.Cascade)
  504 + .HasConstraintName("road_surface_surface_type_id_fkey");
  505 + });
  506 +
  507 + modelBuilder.Entity<RoadType>(entity =>
  508 + {
  509 + entity.ToTable("road_type");
  510 +
  511 + entity.Property(e => e.RoadTypeId).HasColumnName("road_type_id");
  512 +
  513 + entity.Property(e => e.Definition)
  514 + .HasColumnName("definition")
  515 + .HasColumnType("varchar")
  516 + .HasMaxLength(255);
  517 +
  518 + entity.Property(e => e.Value)
  519 + .HasColumnName("value")
  520 + .HasColumnType("varchar")
  521 + .HasMaxLength(255);
  522 + });
  523 +
  524 + modelBuilder.Entity<RoadWidth>(entity =>
  525 + {
  526 + entity.ToTable("road_width");
  527 +
  528 + entity.Property(e => e.RoadWidthId).HasColumnName("road_width_id");
  529 +
  530 + entity.Property(e => e.Begin).HasColumnName("begin");
  531 +
  532 + entity.Property(e => e.CountLaneLeft).HasColumnName("count_lane_left");
  533 +
  534 + entity.Property(e => e.CountLaneRight).HasColumnName("count_lane_right");
  535 +
  536 + entity.Property(e => e.End).HasColumnName("end");
  537 +
  538 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  539 +
  540 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  541 +
  542 + entity.Property(e => e.WidthReverseRoad).HasColumnName("width_reverse_road");
  543 +
  544 + entity.Property(e => e.WidthRoadsideLeft).HasColumnName("width_roadside_left");
  545 +
  546 + entity.Property(e => e.WidthRoadsideRight).HasColumnName("width_roadside_right");
  547 +
  548 + entity.Property(e => e.WidthRoadwayForward).HasColumnName("width_roadway_forward");
  549 +
  550 + entity.Property(e => e.WidthStrip).HasColumnName("width_strip");
  551 +
  552 + entity.HasOne(d => d.Region)
  553 + .WithMany(p => p.RoadWidth)
  554 + .HasForeignKey(d => d.RegionId)
  555 + .OnDelete(DeleteBehavior.Cascade)
  556 + .HasConstraintName("road_width_region_id_fkey");
  557 +
  558 + entity.HasOne(d => d.Road)
  559 + .WithMany(p => p.RoadWidth)
  560 + .HasForeignKey(d => d.RoadId)
  561 + .OnDelete(DeleteBehavior.Cascade)
  562 + .HasConstraintName("road_width_road_id_fkey");
  563 + });
  564 +
  565 + modelBuilder.Entity<ServiceObject>(entity =>
  566 + {
  567 + entity.ToTable("service_object");
  568 +
  569 + entity.Property(e => e.ServiceObjectId).HasColumnName("service_object_id");
  570 +
  571 + entity.Property(e => e.ArrangementElements).HasColumnName("arrangement_elements");
  572 +
  573 + entity.Property(e => e.Capacity).HasColumnName("capacity");
  574 +
  575 + entity.Property(e => e.DepartmentAffiliationId).HasColumnName("department_affiliation_id");
  576 +
  577 + entity.Property(e => e.Distance).HasColumnName("distance");
  578 +
  579 + entity.Property(e => e.LocationAxis).HasColumnName("location_axis");
  580 +
  581 + entity.Property(e => e.LocationLeft).HasColumnName("location_left");
  582 +
  583 + entity.Property(e => e.LocationRight).HasColumnName("location_right");
  584 +
  585 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  586 +
  587 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  588 +
  589 + entity.Property(e => e.ServiceObjectTypeId).HasColumnName("service_object_type_id");
  590 +
  591 + entity.Property(e => e.SettlementId).HasColumnName("settlement_id");
  592 +
  593 + entity.HasOne(d => d.DepartmentAffiliation)
  594 + .WithMany(p => p.ServiceObject)
  595 + .HasForeignKey(d => d.DepartmentAffiliationId)
  596 + .OnDelete(DeleteBehavior.Cascade)
  597 + .HasConstraintName("service_object_department_affiliation_id_fkey");
  598 +
  599 + entity.HasOne(d => d.Region)
  600 + .WithMany(p => p.ServiceObject)
  601 + .HasForeignKey(d => d.RegionId)
  602 + .OnDelete(DeleteBehavior.Cascade)
  603 + .HasConstraintName("service_object_region_id_fkey");
  604 +
  605 + entity.HasOne(d => d.Road)
  606 + .WithMany(p => p.ServiceObject)
  607 + .HasForeignKey(d => d.RoadId)
  608 + .OnDelete(DeleteBehavior.Cascade)
  609 + .HasConstraintName("service_object_road_id_fkey");
  610 +
  611 + entity.HasOne(d => d.ServiceObjectType)
  612 + .WithMany(p => p.ServiceObject)
  613 + .HasForeignKey(d => d.ServiceObjectTypeId)
  614 + .OnDelete(DeleteBehavior.Cascade)
  615 + .HasConstraintName("service_object_service_object_type_id_fkey");
  616 +
  617 + entity.HasOne(d => d.Settlement)
  618 + .WithMany(p => p.ServiceObject)
  619 + .HasForeignKey(d => d.SettlementId)
  620 + .OnDelete(DeleteBehavior.Cascade)
  621 + .HasConstraintName("service_object_settlement_id_fkey");
  622 + });
  623 +
  624 + modelBuilder.Entity<ServiceObjectType>(entity =>
  625 + {
  626 + entity.ToTable("service_object_type");
  627 +
  628 + entity.Property(e => e.ServiceObjectTypeId).HasColumnName("service_object_type_id");
  629 +
  630 + entity.Property(e => e.Name)
  631 + .HasColumnName("name")
  632 + .HasColumnType("varchar")
  633 + .HasMaxLength(255);
  634 + });
  635 +
  636 + modelBuilder.Entity<Settlement>(entity =>
  637 + {
  638 + entity.ToTable("settlement");
  639 +
  640 + entity.Property(e => e.SettlementId).HasColumnName("settlement_id");
  641 +
  642 + entity.Property(e => e.Name)
  643 + .IsRequired()
  644 + .HasColumnName("name")
  645 + .HasColumnType("varchar")
  646 + .HasMaxLength(255);
  647 +
  648 + entity.Property(e => e.Sign)
  649 + .HasColumnName("sign")
  650 + .HasColumnType("varchar")
  651 + .HasMaxLength(255);
  652 + });
  653 +
  654 + modelBuilder.Entity<SettlementAddressLink>(entity =>
  655 + {
  656 + entity.ToTable("settlement_address_link");
  657 +
  658 + entity.Property(e => e.SettlementAddressLinkId).HasColumnName("settlement_address_link_id");
  659 +
  660 + entity.Property(e => e.Begin).HasColumnName("begin");
  661 +
  662 + entity.Property(e => e.Distance).HasColumnName("distance");
  663 +
  664 + entity.Property(e => e.End).HasColumnName("end");
  665 +
  666 + entity.Property(e => e.RegionId).HasColumnName("region_id");
  667 +
  668 + entity.Property(e => e.RoadId).HasColumnName("road_id");
  669 +
  670 + entity.Property(e => e.SettlementId).HasColumnName("settlement_id");
  671 +
  672 + entity.Property(e => e.SettlementLocationId).HasColumnName("settlement_location_id");
  673 +
  674 + entity.HasOne(d => d.Region)
  675 + .WithMany(p => p.SettlementAddressLink)
  676 + .HasForeignKey(d => d.RegionId)
  677 + .OnDelete(DeleteBehavior.Cascade)
  678 + .HasConstraintName("settlement_address_link_region_id_fkey");
  679 +
  680 + entity.HasOne(d => d.Road)
  681 + .WithMany(p => p.SettlementAddressLink)
  682 + .HasForeignKey(d => d.RoadId)
  683 + .OnDelete(DeleteBehavior.Cascade)
  684 + .HasConstraintName("settlement_address_link_road_id_fkey");
  685 +
  686 + entity.HasOne(d => d.Settlement)
  687 + .WithMany(p => p.SettlementAddressLink)
  688 + .HasForeignKey(d => d.SettlementId)
  689 + .OnDelete(DeleteBehavior.Cascade)
  690 + .HasConstraintName("settlement_address_link_settlement_id_fkey");
  691 +
  692 + entity.HasOne(d => d.SettlementLocation)
  693 + .WithMany(p => p.SettlementAddressLink)
  694 + .HasForeignKey(d => d.SettlementLocationId)
  695 + .OnDelete(DeleteBehavior.Cascade)
  696 + .HasConstraintName("settlement_address_link_settlement_location_id_fkey");
  697 + });
  698 +
  699 + modelBuilder.Entity<SettlementLocation>(entity =>
  700 + {
  701 + entity.ToTable("settlement_location");
  702 +
  703 + entity.Property(e => e.SettlementLocationId).HasColumnName("settlement_location_id");
  704 +
  705 + entity.Property(e => e.Value)
  706 + .IsRequired()
  707 + .HasColumnName("value")
  708 + .HasColumnType("varchar")
  709 + .HasMaxLength(255);
  710 + });
  711 +
  712 + modelBuilder.Entity<StateCommon>(entity =>
  713 + {
  714 + entity.ToTable("state_common");
  715 +
  716 + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id");
  717 +
  718 + entity.Property(e => e.Value)
  719 + .HasColumnName("value")
  720 + .HasColumnType("varchar")
  721 + .HasMaxLength(255);
  722 + });
  723 +
  724 + modelBuilder.Entity<SurfaceTreatment>(entity =>
  725 + {
  726 + entity.ToTable("surface_treatment");
  727 +
  728 + entity.Property(e => e.SurfaceTreatmentId).HasColumnName("surface_treatment_id");
  729 +
  730 + entity.Property(e => e.Name)
  731 + .HasColumnName("name")
  732 + .HasColumnType("varchar")
  733 + .HasMaxLength(255);
  734 + });
  735 +
  736 + modelBuilder.Entity<SurfaceType>(entity =>
  737 + {
  738 + entity.ToTable("surface_type");
  739 +
  740 + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id");
  741 +
  742 + entity.Property(e => e.Name)
  743 + .HasColumnName("name")
  744 + .HasColumnType("varchar")
  745 + .HasMaxLength(255);
  746 + });
  747 + }
  748 +
  749 + public virtual DbSet<BusStop> BusStop { get; set; }
  750 + public virtual DbSet<CrossSection> CrossSection { get; set; }
  751 + public virtual DbSet<DepartmentAffiliation> DepartmentAffiliation { get; set; }
  752 + public virtual DbSet<FlowIntensity> FlowIntensity { get; set; }
  753 + public virtual DbSet<Organization> Organization { get; set; }
  754 + public virtual DbSet<Region> Region { get; set; }
  755 + public virtual DbSet<Road> Road { get; set; }
  756 + public virtual DbSet<RoadCategory> RoadCategory { get; set; }
  757 + public virtual DbSet<RoadDirection> RoadDirection { get; set; }
  758 + public virtual DbSet<RoadPassport> RoadPassport { get; set; }
  759 + public virtual DbSet<RoadService> RoadService { get; set; }
  760 + public virtual DbSet<RoadSurface> RoadSurface { get; set; }
  761 + public virtual DbSet<RoadType> RoadType { get; set; }
  762 + public virtual DbSet<RoadWidth> RoadWidth { get; set; }
  763 + public virtual DbSet<ServiceObject> ServiceObject { get; set; }
  764 + public virtual DbSet<ServiceObjectType> ServiceObjectType { get; set; }
  765 + public virtual DbSet<Settlement> Settlement { get; set; }
  766 + public virtual DbSet<SettlementAddressLink> SettlementAddressLink { get; set; }
  767 + public virtual DbSet<SettlementLocation> SettlementLocation { get; set; }
  768 + public virtual DbSet<StateCommon> StateCommon { get; set; }
  769 + public virtual DbSet<SurfaceTreatment> SurfaceTreatment { get; set; }
  770 + public virtual DbSet<SurfaceType> SurfaceType { get; set; }
  771 + }
  772 +}
0 \ No newline at end of file 773 \ No newline at end of file
src/MapsDb/Program.cs 0 → 100755
  1 +++ a/src/MapsDb/Program.cs
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.Linq;
  4 +using System.Threading.Tasks;
  5 +
  6 +namespace MapsDb
  7 +{
  8 + public class Program
  9 + {
  10 + public static void Main(string[] args)
  11 + {
  12 + }
  13 + }
  14 +}
src/MapsDb/project.json 0 → 100755
  1 +++ a/src/MapsDb/project.json
  1 +{
  2 + "version": "1.0.0-*",
  3 + "buildOptions": {
  4 + "emitEntryPoint": true
  5 + },
  6 + "dependencies": {
  7 + "Microsoft.EntityFrameworkCore": "1.0.2",
  8 + "Microsoft.EntityFrameworkCore.Design": "1.0.2",
  9 + "Microsoft.EntityFrameworkCore.Design.Core": "1.0.0-preview2-final",
  10 + "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview4-final",
  11 + "Microsoft.NETCore.App": {
  12 + "type": "platform",
  13 + "version": "1.0.0"
  14 + },
  15 + "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0",
  16 + "MapsModels": "1.0.0-*"
  17 + },
  18 + "frameworks": {
  19 + "netcoreapp1.0": {
  20 + "imports": "dnxcore50"
  21 + }
  22 + },
  23 + "tools": {
  24 + "Microsoft.EntityFrameworkCore.Tools.DotNet": "1.0.0-preview4-final"
  25 + }
  26 +}
0 \ No newline at end of file 27 \ No newline at end of file
src/MapsModels/DsModels/BusStopDetailsDs.cs 0 → 100644
  1 +++ a/src/MapsModels/DsModels/BusStopDetailsDs.cs
  1 +namespace MapsModels.DsModels
  2 +{
  3 + public class BusStopDetailsDs
  4 + {
  5 + public int BusStopId { get; set; }
  6 + public string Road { get; set; }
  7 + public string Region { get; set; }
  8 + public string Settlement { get; set; }
  9 + public double? LocationLeft { get; set; }
  10 + public double? LocationRight { get; set; }
  11 + public string SurfaceType { get; set; }
  12 + public int? AreaStopAvailability { get; set; }
  13 + public int? AreaLandAvailability { get; set; }
  14 + public int? PocketAvailability { get; set; }
  15 + public int? ToiletAvailability { get; set; }
  16 + public int? YearBuild { get; set; }
  17 + public int? YearRepair { get; set; }
  18 + public string StateCommon { get; set; }
  19 +
  20 + }
  21 +}
0 \ No newline at end of file 22 \ No newline at end of file
src/MapsModels/DsModels/BusStopListDs.cs 0 → 100644
  1 +++ a/src/MapsModels/DsModels/BusStopListDs.cs
  1 +namespace MapsModels.DsModels
  2 +{
  3 + public class BusStopListDs
  4 + {
  5 + public string Road { get; set; }
  6 + public string Region { get; set; }
  7 + public string Settlement { get; set; }
  8 + public double? LocationLeft { get; set; }
  9 + public double? LocationRight { get; set; }
  10 + public string StateCommon { get; set; }
  11 + }
  12 +}
0 \ No newline at end of file 13 \ No newline at end of file
src/MapsModels/Library.cs 0 → 100755
  1 +++ a/src/MapsModels/Library.cs
  1 +using System;
  2 +
  3 +namespace MapsModels
  4 +{
  5 + public class Library
  6 + {
  7 + public void Method1()
  8 + {
  9 + }
  10 + }
  11 +}
src/MapsModels/ViewModels/DetailsBusStopVm.cs 0 → 100644
  1 +++ a/src/MapsModels/ViewModels/DetailsBusStopVm.cs
  1 +using System.Collections.Generic;
  2 +using MapsModels.DsModels;
  3 +
  4 +namespace MapsModels.ViewModels
  5 +{
  6 + public class DetailsBusStopVm
  7 + {
  8 + public BusStopDetailsDs busStopDetailsDs { get; set; }
  9 + }
  10 +}
src/MapsModels/ViewModels/ListBusStopVm.cs 0 → 100644
  1 +++ a/src/MapsModels/ViewModels/ListBusStopVm.cs
  1 +using System.Collections.Generic;
  2 +using MapsModels.DsModels;
  3 +
  4 +namespace MapsModels.ViewModels
  5 +{
  6 + public class ListBusStopVm
  7 + {
  8 + public List<BusStopListDs> busStopListDs { get; set; }
  9 + }
  10 +}
src/MapsModels/project.json 0 → 100755
  1 +++ a/src/MapsModels/project.json
  1 +{
  2 + "version": "1.0.0-*",
  3 + "buildOptions": {
  4 + "debugType": "portable"
  5 + },
  6 + "dependencies": {},
  7 + "frameworks": {
  8 + "netstandard1.6": {
  9 + "dependencies": {
  10 + "NETStandard.Library": "1.6.1"
  11 + }
  12 + }
  13 + }
  14 +}