예제 #1
0
 public UserDto(string id, string userName, string email, ProfileDto profile)
 {
     Id       = id;
     UserName = userName;
     Email    = email;
     Profile  = profile;
 }
예제 #2
0
 private static bool IsProfileEmpty(ProfileDto profile)
 {
     return(profile.Age == null && profile.Location == null && profile.Sex == null);
 }