public async Task <IActionResult> FilterAndPage( [FromQuery] string name, [FromQuery] int skip = 0, [FromQuery] int take = 10) { var plans = await _plansService.FilterAndPaged(skip, take, name); if (plans == null || plans.Count == 0) { return(NoContent()); } return(Ok(plans)); }