public IDispatcherWithDtoEndpointsBuilder Delete(string path, Func <HttpContext, Task>?context = null,
                                                  Action <IEndpointConventionBuilder>?endpoint  = null, bool auth = false,
                                                  string?roles = null, params string[] policies)
 {
     _builder.Delete(path, context, endpoint, auth, roles, policies);
     return(this);
 }
Exemplo n.º 2
0
        public IDispatcherEndpointsBuilder Delete(string path, Func <HttpContext, Task> context = null)
        {
            _builder.Delete(path, context);

            return(this);
        }