private IAssociate CreateNewAssociate(int associateID, string name, float tenure, IRole currentRole)
        {
            var result = AssociateFactory.Invoke();

            result.AssociateID = associateID;
            result.Name        = name;
            result.Tenure      = tenure;
            result.SetCurrentRole(currentRole);
            return(result);
        }
Example #2
0
 private IAssociate CreateNewAssociate()
 {
     return(AssociateFactory.Invoke());
 }