Пример #1
0
        public async Task <IActionResult> GetInitiativeYears()
        {
            var initiativeYears = await _initiativeService.GetInitiativeYears();

            if (initiativeYears != null)
            {
                return(Ok(initiativeYears));
            }
            return(BadRequest("Failed to get initiative years"));
        }