Esempio n. 1
0
        public void RemoveUserAccountProfile(UserAccountProfile accountProfile)
        {
            var profile = UserProfiles.FirstOrDefault((p) => p.InstitutionName == accountProfile.InstitutionName);

            if (profile == null)
            {
                return;
            }

            profile.Accounts.Remove(accountProfile);
            SaveUserProfile();
        }
 public bool Equals(UserAccountProfile profile)
 {
     return(Id == profile?.Id);
 }