C# Class PPPDDD.ApplicationServices.Gambling.ApplicationServices.communication.RecommendAFriendService

Show file Open project: elbandit/PPPDDD

Public Methods

Method Description
RecommendAFriend ( int referrerId, NewAccount friendsAccountDetails ) : void
RecommendAFriendService ( ICustomerDirectory customerDirectory, IReferAFriendPolicy referAFriendPolicy, IBus bus ) : System

Private Methods

Method Description
Validate ( NewAccount account ) : void

Method Details

RecommendAFriend() public method

public RecommendAFriend ( int referrerId, NewAccount friendsAccountDetails ) : void
referrerId int
friendsAccountDetails Domain.NewAccount
return void

RecommendAFriendService() public method

public RecommendAFriendService ( ICustomerDirectory customerDirectory, IReferAFriendPolicy referAFriendPolicy, IBus bus ) : System
customerDirectory ICustomerDirectory
referAFriendPolicy IReferAFriendPolicy
bus IBus
return System