private UserListItem CreateUserListItem(MUser_UserSummary aUserSummary) { var summary = new UserListItem() { UserId = aUserSummary.UserId, UserName = aUserSummary.UserName }; return(summary); }
public static MUser_UserSummary MUser_UserSummary(AspNetUser dbAspNetUser) { var userSummary = new MUser_UserSummary() { UserId = dbAspNetUser.Id, UserName = dbAspNetUser.UserName, Email = dbAspNetUser.Email, EmailConfirmed = dbAspNetUser.EmailConfirmed, AccessFailedCount = dbAspNetUser.AccessFailedCount }; return(userSummary); }