First day

This commit is contained in:
2015-06-18 10:52:10 +02:00
parent b28cbf7ad2
commit 1a61a2a7f7
36 changed files with 1566 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace StoreData
{
public interface IAccount
{
/// <summary>
/// Check the balance
/// </summary>
decimal Balance { get; }
/// <summary>
/// Add money to this account
/// </summary>
/// <param name="amount">The amount to add</param>
void Add(decimal amount);
/// <summary>
/// Remove money from this account
/// </summary>
/// <param name="amount">The amount to remove</param>
void Remove(decimal amount);
}
}