Created
November 8, 2023 19:57
-
-
Save ahmetkucukoglu/c3de406775288229de9b0f56934eac5d to your computer and use it in GitHub Desktop.
JsonProductsExporter
This file contains hidden or 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
public class JsonProductsExporter : IProductsExporter | |
{ | |
public string Export(List<Product> products) | |
{ | |
return JsonSerializer.Serialize(products); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment