private RegisterDataEntity ConvertRegisterAccountToRegisterDataEntity(RegisterAccount entry) { var entity = new RegisterDataEntity(); entity.UserId = entry.UserId; entity.UserName = entry.UserName; entity.Password = entry.Password; entity.Name = entry.Name; entity.Email = entry.Email; return entity; }
private RegisterDataEntity ConvertRegisterAccountToRegisterDataEntity(RegisterAccount entry) { var entity = new RegisterDataEntity(); entity.UserId = entry.UserId; entity.UserName = entry.UserName; entity.Password = entry.Password; entity.Name = entry.Name; entity.Email = entry.Email; return(entity); }