Exemplo n.º 1
0
        public Permission AddPermission(string fileId, string email, string type, string role)
        {
            Permission objPermmision = null;

            try
            {
                var service = _googleDriveOperation.GetDriveService();
                objPermmision = _googleDriveOperation.AddPermission(service, fileId, email, type, role);
            }
            catch (Exception ex)
            {
                Logger.Error(ex.StackTrace);
            }
            return(objPermmision);
        }