public async Task <IActionResult> All() { var plans = await _plansService.GetAll(); if (plans == null || plans.Count == 0) { return(NoContent()); } return(Ok(plans)); }