Ejemplo n.º 1
0
        public async Task <string> UpdateEntity(IFormFile file, string filePath, string binaryObjectId, string apiComponent, string folder, string name, string hash)
        {
            //update binary object entity properties in data table
            await repo.UpdateEntity(file, filePath, binaryObjectId, apiComponent, folder, name, hash);

            return("Success");
        }
Ejemplo n.º 2
0
        public async Task <string> UpdateEntity(IFormFile file, string filePath, string binaryObjectId, string apiComponent, string folder)
        {
            //using (var stream = new FileStream(filePath, FileMode.Open))
            //{
            //update binary object entity properties in data table
            await repo.UpdateEntity(file, filePath, binaryObjectId, apiComponent, folder);

            return("Success");
            //}
        }