public async Task <ActionResult> BanChatUser(ChatBanUserModel model) { model.UserId = User.Identity.GetUserId(); await ChatHub.BanUser(model); return(CloseModalSuccess()); }
public async Task <ActionResult> SubmitChatBan(ChatBanUserModel model) { model.UserId = User.Identity.GetUserId(); await ChatHub.BanUser(model); return(JsonSuccess()); }