Exemplo n.º 1
0
        public async Task <IActionResult> AddMembers([FromBody] IEnumerable <string> emailList, [FromRoute] string groupId)
        {
            var _userId = this.HttpContext.User.Claims.First(c => c.Type == "sub").Value;
            await _memberService.AddMembersAsync(groupId, emailList);

            return(Ok());
        }