public async Task <IActionResult> GetInitiativeYears() { var initiativeYears = await _initiativeService.GetInitiativeYears(); if (initiativeYears != null) { return(Ok(initiativeYears)); } return(BadRequest("Failed to get initiative years")); }