示例#1
0
        public List <FileDto> InsertFile(string parentId, IFormFileCollection formFiles)
        {
            List <FileDto> response = null;

            try
            {
                var service = _googleDriveOperation.GetDriveService();
                response = _googleDriveOperation.InsertFile(service, parentId, formFiles);
            }
            catch (Exception ex)
            {
                Logger.Error(ex.StackTrace);
            }
            return(response);
        }