Small cleanup
This commit is contained in:
parent
17f9328c8a
commit
07d3932bdc
4 changed files with 4 additions and 15 deletions
|
|
@ -80,7 +80,7 @@ public class PersonController : BaseApiController
|
|||
/// <param name="userParams"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("all")]
|
||||
public async Task<ActionResult<PagedList<BrowsePersonDto>>> GetAuthorsForBrowse(BrowsePersonFilterDto filter, [FromQuery] UserParams? userParams)
|
||||
public async Task<ActionResult<PagedList<BrowsePersonDto>>> GetPeopleForBrowse(BrowsePersonFilterDto filter, [FromQuery] UserParams? userParams)
|
||||
{
|
||||
userParams ??= UserParams.Default;
|
||||
|
||||
|
|
@ -90,17 +90,6 @@ public class PersonController : BaseApiController
|
|||
return Ok(list);
|
||||
}
|
||||
|
||||
// [HttpPost("all-v2")]
|
||||
// public async Task<ActionResult<PagedList<BrowsePersonDto>>> GetAuthorsForBrowse(FilterV2Dto filter, [FromQuery] UserParams? userParams)
|
||||
// {
|
||||
// userParams ??= UserParams.Default;
|
||||
//
|
||||
// // var list = await _unitOfWork.PersonRepository.GetBrowsePersonDtos(User.GetUserId(), filter, userParams);
|
||||
// // Response.AddPaginationHeader(list.CurrentPage, list.PageSize, list.TotalCount, list.TotalPages);
|
||||
//
|
||||
// return Ok([]);
|
||||
// }
|
||||
|
||||
/// <summary>
|
||||
/// Updates the Person
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue