Exemplo n.º 1
0
        public async Task <IActionResult> GetLeadInitiative(string memberId)
        {
            var initiative = await _initiativeService.GetLeadInitiative(memberId);

            if (initiative != null)
            {
                return(Ok(initiative));
            }
            if (initiative == null)
            {
                return(Ok(initiative));
            }
            return(BadRequest("You have not assigned to any initiative as a lead yet"));
        }