Update CategoriesApi.cs
parent
28ede256cd
commit
0a8b190ff0
|
@ -5,6 +5,7 @@ public static class CategoriesApi
|
|||
public static RouteGroupBuilder MapCategoriesApi(this RouteGroupBuilder group)
|
||||
{
|
||||
group.MapGet("/", GetAllCategories).WithName("GetCategories");
|
||||
group.MapGet("/test", GetAllCategories).WithName("GetCategoriesTest");
|
||||
return group;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue