public async Task <IActionResult> GetInitiative(string Id) { var initiative = await _initiativeService.GetInitiative(Id); if (initiative != null) { return(Ok(initiative)); } if (initiative == null) { return(BadRequest("Initiative not exists")); } return(BadRequest("Failed to get initiative list")); }