using System.Collections.Generic;
using System.ServiceModel;
namespace Dotmyself
{
///
/// It defines the capability and feature set, offered by the Banking Service.
/// Author : Hyacinthe MENIET
///
[ServiceContract(Namespace = "http://file.dotmyself.net/source/10")]
interface IBankingService
{
[OperationContract]
IList GetAccounts();
[OperationContract]
IList GetOperationsByAccount(int aId);
[OperationContract]
decimal GetBalance(int aId);
[OperationContract]
void withdrawMoney(int aId, decimal amount);
[OperationContract]
void depositMoney(int aId, decimal amount);
[OperationContract]
void transferMoney(int fromId, int toId, decimal amount);
}
}