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); }
private IAssociate CreateNewAssociate() { return(AssociateFactory.Invoke()); }