public IActionResult GetAll(int page = 1, int pageSize = 10, string sortBy = "lastName", string sortDirection = "asc") { return(Ok(_customerApplicationService.GetAll(page, pageSize, sortBy, sortDirection))); }
public IActionResult GetAll() { return(Ok(_customerApplicationService.GetAll())); }