Ejemplo n.º 1
0
        public async Task <HttpResponseMessage> SaveGroupMember([FromBody] ChatRequest.MemberRequest request)
        {
            var response = await _service.AddMember(request, Request.GetSession()).ConfigureAwait(false);

            return(Request.SystemResponse <string>(response.Status));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> AddMember(ChatMember member)
        {
            await chatService.AddMember(member.ChatId, member.MemberId);

            return(Ok());
        }