Exemple #1
0
        public override Task OnDisconnectedAsync(Exception exception)
        {
            base.OnDisconnectedAsync(exception);
            int docId = mapper.FindDocumentIdByUserName(Context.User.Identity.Name);

            return(LeaveDocument(docId));
        }