public void AccoutDtoTest() { var dto = new AccountDto() { BindingMobile = "13456323232", UserId = 100345124, UserName = "******" }; var record = new LoginNameRecord(); dto.GetLoginNamesFromRecord(record); }
public static void GetLoginNamesFromRecord(this AccountDto dto, LoginNameRecord record) { _loginNamesMapper.Value(dto, record); }