Ejemplo n.º 1
0
 public void SetProfilePatternKey(ProfilePatternKey profilePatternKey)
 {
     if (ProfilePatternKeys?.Any(_ => _.FundingLineCode == profilePatternKey.FundingLineCode) == true)
     {
         ProfilePatternKeys
         .SingleOrDefault(_ => _.FundingLineCode == profilePatternKey.FundingLineCode)
         .Key = profilePatternKey.Key;
     }
     else
     {
         ProfilePatternKeys ??= new List <ProfilePatternKey>();
         ProfilePatternKeys.Add(profilePatternKey);
     }
 }
Ejemplo n.º 2
0
 public void SetProfilePatternKey(ProfilePatternKey profilePatternKey,
                                  Reference author)
 {
     SetProfilePatternKey(profilePatternKey);
     AddProfilingAudit(profilePatternKey.FundingLineCode, author);
 }