tag reorg and mass routes
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
PRIORITY - ALWAYS Lowest level stuff first
|
||||
=-=-=-=-
|
||||
|
||||
todo: tags - does server ensure only unique tags are saved even if there are dupes in the list?
|
||||
|
||||
MASS TAG OPS
|
||||
NOTE: separate routes for seperate things just to avoid issues, i.e. dont' conflate two different functions in same route
|
||||
i.e. search and replace, not search and remove
|
||||
|
||||
@@ -19,10 +19,10 @@ namespace AyaNova.Api.Controllers
|
||||
[Route("api/v{version:apiVersion}/tag-list")]
|
||||
[Produces("application/json")]
|
||||
[Authorize]
|
||||
public class TagListController : ControllerBase
|
||||
public class TagController : ControllerBase
|
||||
{
|
||||
private readonly AyContext ct;
|
||||
private readonly ILogger<TagListController> log;
|
||||
private readonly ILogger<TagController> log;
|
||||
private readonly ApiServerState serverState;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="dbcontext"></param>
|
||||
/// <param name="logger"></param>
|
||||
/// <param name="apiServerState"></param>
|
||||
public TagListController(AyContext dbcontext, ILogger<TagListController> logger, ApiServerState apiServerState)
|
||||
public TagController(AyContext dbcontext, ILogger<TagController> logger, ApiServerState apiServerState)
|
||||
{
|
||||
ct = dbcontext;
|
||||
log = logger;
|
||||
Reference in New Issue
Block a user