Skip to content

Commit

Permalink
Merge pull request #20 from kodlamaio-projects/fix/controller-getlist
Browse files Browse the repository at this point in the history
fix(domain): fix return type for get all controller method
  • Loading branch information
halitkalayci authored Aug 20, 2024
2 parents 30ccf20 + 05d6031 commit 583bd32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class {{ entity.name | string.pascalcase | string.plural }}Controller : B
}

[HttpGet]
public async Task<ActionResult<GetList{{ entity.name | string.pascalcase }}Query>> GetList([FromQuery] PageRequest pageRequest)
public async Task<ActionResult<GetListResponse<GetList{{ entity.name | string.pascalcase }}ListItemDto>>> GetList([FromQuery] PageRequest pageRequest)
{
GetList{{ entity.name | string.pascalcase }}Query query = new() { PageRequest = pageRequest };

Expand Down

0 comments on commit 583bd32

Please sign in to comment.