... public void ShowToastMessage( string title, string content, ToastType type ) { var username = HttpContext.User.Identity.Name; //Send a toast to the current user. MessageEmitter.ShowToast(username,title, content, type); } ...