BExIS.Web.Shell.Controllers.TestController.addTestPartyRelationship C# (CSharp) Method

addTestPartyRelationship() private method

private addTestPartyRelationship ( Dlm firstParty, Dlm secondParty, PartyRelationshipType prt ) : Dlm.Entities.Party.PartyRelationship
firstParty Dlm
secondParty Dlm
prt BExIS.Dlm.Entities.Party.PartyRelationshipType
return Dlm.Entities.Party.PartyRelationship
        private Dlm.Entities.Party.PartyRelationship addTestPartyRelationship(Dlm.Entities.Party.Party firstParty, Dlm.Entities.Party.Party secondParty, PartyRelationshipType prt)
        {
            Dlm.Services.Party.PartyManager pm = new Dlm.Services.Party.PartyManager();
            return pm.AddPartyRelationship(firstParty, secondParty, prt, "test Rel", "test relationship", DateTime.Now);
        }