Exemplo n.º 1
0
        public async Task <IActionResult> CreateInitiative(InitiativeForCreateDto initiativeForCreateDto)
        {
            var result = await _initiativeService.CreateInitiative(initiativeForCreateDto);

            if (result == true)
            {
                return(Ok());
            }
            return(BadRequest("Initiative  creation failed"));
        }