mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-22 18:29:31 +00:00
Major rework of HttpRoutes.
Implemented DI based routes. Implemented converters for HttpRequest and HttpResponse. Fixed e2e tests.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using MTSC.Common.Http.RoutingModules;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MTSC.UnitTests.RoutingModules
|
||||
{
|
||||
public class SomeRoutingModule : HttpRouteBase<SomeRoutingRequest, SomeRoutingResponse>
|
||||
{
|
||||
public override Task<SomeRoutingResponse> HandleRequest(SomeRoutingRequest request)
|
||||
{
|
||||
return Task.FromResult(new SomeRoutingResponse());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user