o
This commit is contained in:
parent
cdc415a487
commit
8a323f321e
@ -38,7 +38,7 @@ namespace ZooRestApi.Controllers
|
||||
}
|
||||
}
|
||||
[HttpGet]
|
||||
public List<RouteViewModel>? GetRoutes(int? clientId)
|
||||
public List<RouteViewModel>? GetRoute(int? clientId)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -84,7 +84,7 @@ namespace ZooRestApi.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
return _route.Update(model);
|
||||
return _route.Update(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user