Esempio n. 1
0
        public async Task <IActionResult> GetInitiativeReport(string initiativeId)
        {
            var initiativeReport = await _initiativeService.GetInitiativeReport(initiativeId);

            if (initiativeReport != null)
            {
                return(Ok(initiativeReport));
            }

            if (initiativeReport == null)
            {
                return(NoContent());
            }
            return(BadRequest("Failed to get initiative list"));
        }