public async Task <ActionResult> Author(int authorId, int?page) { var input = GetAllBookInput(authorId, page); var output = await _bookservice.GetAllByAuthorIdAsync(input); return(PreViewActionResult(output)); }
public async Task <ActionResult> Author(int authorId, int?page) { var input = GetAllBookInput(authorId, page); var output = await _bookservice.GetAllByAuthorIdAsync(input); return(PreViewActionResult(output)); }