Commit 2a302b1d657a43301eed911d088fc965f4ca46b4
1 parent
7fd789ff
Answer Ok
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/Maps/Controllers/BusStopController.cs
@@ -88,12 +88,12 @@ namespace Maps.Controllers | @@ -88,12 +88,12 @@ namespace Maps.Controllers | ||
88 | [HttpPost] | 88 | [HttpPost] |
89 | public async Task<IActionResult> Create(string data) | 89 | public async Task<IActionResult> Create(string data) |
90 | { | 90 | { |
91 | - return Json(data); | 91 | + return Ok(data); |
92 | } | 92 | } |
93 | 93 | ||
94 | [HttpPost] | 94 | [HttpPost] |
95 | public IActionResult Update(int id, string data){ | 95 | public IActionResult Update(int id, string data){ |
96 | - return Json(data); | 96 | + return Ok(data); |
97 | } | 97 | } |
98 | 98 | ||
99 | // POST: BusStop/Create | 99 | // POST: BusStop/Create |