public async Task <IActionResult> Get(string query, int pageNumber, int pageSize) { var result = await _plans.GetPlansAsync(query, pageNumber, pageSize); return(Ok(new ApiResponse <PagedList <PlanDetail> >(result, "Plans retrieved successfully"))); }