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

addTestPartyRelationshipType() private method

private addTestPartyRelationshipType ( PartyType alowedSource, PartyType alowedTarget ) : Dlm.Entities.Party.PartyRelationshipType
alowedSource BExIS.Dlm.Entities.Party.PartyType
alowedTarget BExIS.Dlm.Entities.Party.PartyType
return Dlm.Entities.Party.PartyRelationshipType
        private Dlm.Entities.Party.PartyRelationshipType addTestPartyRelationshipType(PartyType alowedSource, PartyType alowedTarget)
        {
            Dlm.Services.Party.PartyRelationshipTypeManager pmr = new Dlm.Services.Party.PartyRelationshipTypeManager();
            return pmr.Create("test", " ", false, 3, 2, alowedSource, alowedTarget, "", "");
        }