public DocumentService(IMapper map, DocumentRepository r, PathProvider p, UserService userService, UserDocumentService userDocumentService)
 {
     _userService         = userService;
     mapper               = map;
     repo                 = r;
     pathprovider         = p;
     _userDocumentService = userDocumentService;
 }
 public SharingService
 (
     DocumentService documentService,
     DocumentLinkService documentLinkService,
     UserDocumentService userDocumentService,
     UserService userService
 )
 {
     _documentService     = documentService;
     _documentLinkService = documentLinkService;
     _userDocumentService = userDocumentService;
     _userService         = userService;
 }