public IActionResult AcceptJoin(string title) { _hubService.AcceptJoinToHub(User.Identity.Name, title); _toastNotification.AddInfoToastMessage($"Congrats! Now you are a member of {title} hub!"); return(RedirectToAction("Index")); }
public IActionResult AcceptJoin(string title) { _hubService.AcceptJoinToHub(User.Identity.Name, title); _toastNotification.AddInfoToastMessage($"Congrats! Now you are a member of {title} hub!"); return(RedirectToAction("Index")); }