Exemple #1
0
        public IActionResult ShareFile(string documentId)
        {
            bool isPublic = _documentService.CheckPublic(documentId);

            return(View(new SharingViewModel {
                DocumentId = documentId, Email = null, IsPublic = isPublic, UsersEmails = _documentService.GetAllUsersWithAccess(documentId)
            }
                        ));
        }