Simplified LogicResults
This commit is contained in:
@@ -6,6 +6,7 @@ namespace HopFrame.Api;
|
||||
public static class ControllerExtensions {
|
||||
|
||||
public static IMvcBuilder AddController<TController>(this IMvcBuilder builder) where TController : ControllerBase {
|
||||
//TODO: Change implementation method
|
||||
return builder.AddApplicationPart(typeof(TController).Assembly);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user