Commit 236ec4d5ec4ddb75735ada1e3b6c6a04fcaec14e
1 parent
2a302b1d
add DsF
Showing
2 changed files
with
22 additions
and
1 deletions
Show diff stats
src/Maps/Controllers/BusStopController.cs
| @@ -92,7 +92,7 @@ namespace Maps.Controllers | @@ -92,7 +92,7 @@ namespace Maps.Controllers | ||
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | [HttpPost] | 94 | [HttpPost] |
| 95 | - public IActionResult Update(int id, string data){ | 95 | + public IActionResult Update(int id, BusStopEditDsF data){ |
| 96 | return Ok(data); | 96 | return Ok(data); |
| 97 | } | 97 | } |
| 98 | 98 |
| 1 | +namespace MapsModels.DsModels | ||
| 2 | +{ | ||
| 3 | + public class BusStopEditDsF | ||
| 4 | + { | ||
| 5 | + public int? busStopId { get; set; } | ||
| 6 | + public int? roadId { get; set; } | ||
| 7 | + public int? regionId { get; set; } | ||
| 8 | + public int? settlementId { get; set; } | ||
| 9 | + public double? locationLeft { get; set; } | ||
| 10 | + public double? locationRight { get; set; } | ||
| 11 | + public int? surfaceTypeId { 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 int? stateCommonId { get; set; } | ||
| 19 | + | ||
| 20 | + } | ||
| 21 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |