This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var results = new List<Recipe>(); | |
string filePath = System.IO.Path.Combine(environment.ContentRootPath, "Recipes.zip"); | |
if (File.Exists(filePath)) | |
{ | |
using (ZipArchive archive = ZipFile.OpenRead(filePath)) | |
{ | |
foreach (ZipArchiveEntry zipItem in archive.Entries) | |
{ | |
using (var stream = zipItem.Open()) |