From 8a323f321e85393d9f6a5a668d481e1e3fb46b4c Mon Sep 17 00:00:00 2001 From: "kagbie3nn@mail.ru" Date: Fri, 31 May 2024 15:47:53 +0400 Subject: [PATCH] o --- git/JurasicZoo/ZooRestApi/Controllers/RouteController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/JurasicZoo/ZooRestApi/Controllers/RouteController.cs b/git/JurasicZoo/ZooRestApi/Controllers/RouteController.cs index 820d7f8..0bca7d9 100644 --- a/git/JurasicZoo/ZooRestApi/Controllers/RouteController.cs +++ b/git/JurasicZoo/ZooRestApi/Controllers/RouteController.cs @@ -38,7 +38,7 @@ namespace ZooRestApi.Controllers } } [HttpGet] - public List? GetRoutes(int? clientId) + public List? GetRoute(int? clientId) { try { @@ -84,7 +84,7 @@ namespace ZooRestApi.Controllers { try { - return _route.Update(model); + return _route.Update(model); } catch (Exception ex) {