Code refactor.

This commit is contained in:
2020-12-20 21:34:13 +00:00
parent 5880d93368
commit 13b7ba1f9b
117 changed files with 7284 additions and 7495 deletions

View File

@@ -37,7 +37,7 @@ namespace Marechai.Areas.Identity.Pages.Account.Manage
_userManager.GetUserId(User));
// Only include personal data for download
Dictionary<string, string> personalData = new Dictionary<string, string>();
Dictionary<string, string> personalData = new();
IEnumerable<PropertyInfo> personalDataProps = typeof(ApplicationUser).GetProperties().
Where(prop => Attribute.IsDefined(prop, typeof(PersonalDataAttribute)));