Esempio n. 1
0
        public ActionResult Add([FromBody] AddMemberBinding binding)
        {
            var user = _userManager.FindByNameAsync(User.Identity.Name).Result;
            var res  = _chatManager.AddUserToChat(user.Id, binding.ChatId, binding.UserName);

            return(Ok(res));
        }