fix typo
This commit is contained in:
@@ -20,7 +20,7 @@ public abstract class BaseItemHandler<TEntity, TUpdateMsg>(IApiServer server)
|
|||||||
if (RegisterGetAll)
|
if (RegisterGetAll)
|
||||||
server.RegisterHandler(t.GetMethod(nameof(GetAll))!.CreateDelegate(this), new(Route, "GET"), Debugger.IsAttached);
|
server.RegisterHandler(t.GetMethod(nameof(GetAll))!.CreateDelegate(this), new(Route, "GET"), Debugger.IsAttached);
|
||||||
if (RegisterPost)
|
if (RegisterPost)
|
||||||
server.RegisterHandler(t.GetMethod(nameof(Put))!.CreateDelegate(this), new(Route, "POST"), Debugger.IsAttached);
|
server.RegisterHandler(t.GetMethod(nameof(Post))!.CreateDelegate(this), new(Route, "POST"), Debugger.IsAttached);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual ApiResult GetAll()
|
public virtual ApiResult GetAll()
|
||||||
|
|||||||
Reference in New Issue
Block a user