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
using System; | |
using System.IO; | |
using System.Text.Json; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Amazon; | |
using Amazon.S3.Model; | |
using Amazon.S3; | |
using NUnit.Framework; |
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
public class Contract{ | |
public void AddAsset(decimal assetValue, int assetType) | |
{ | |
Asset a = CreateAsset(assetValue, assetType); | |
AddAssetToCollection(a); | |
Save(); | |
} | |
private Asset CreateAsset(decimal assetValue, int assetType) |