Skip to content

Commit

Permalink
[#227] [add] test controller
Browse files Browse the repository at this point in the history
  • Loading branch information
i4004 committed Dec 8, 2023
1 parent 4ad1fca commit ea11849
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using SampleApp.Angular.Responses;
using Simplify.Web;
using Simplify.Web.Attributes;

namespace SampleApp.Angular.Controllers.v1;

[Get("api/v1/different-route-parameters/{StringParam}/{IntParam:int}/{BoolParam:bool}/{StringArrayParam:string[]}")]
public class DifferentRouteParametersController : Controllerv2
{
public ControllerResponse Invoke(string stringParam) =>
new Json(new
{
StringParam = stringParam
});
}

0 comments on commit ea11849

Please sign in to comment.