Example #1
0
        public async Task <IActionResult> GetInitiative(int id)
        {
            var initiative = await _initiativeService.GetInitiativeAsync(id);

            if (initiative == null)
            {
                return(NotFound());
            }
            return(Ok(initiative));
        }