use RESTful style for GET & POST to child entity endpoints
This commit is contained in:
@@ -17,6 +17,9 @@ public abstract class BaseHandler<TEntity, TUpdateMsg>(IApiServer server)
|
||||
public ApiRequestInfo Request { get; } = reqest;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the base route (endpoint) for the most API calls.
|
||||
/// </summary>
|
||||
public abstract string Route { get; }
|
||||
protected virtual bool RegisterGet => true;
|
||||
protected virtual bool RegisterPut => true;
|
||||
|
||||
Reference in New Issue
Block a user