ACUserModelDTODetail
This commit is contained in:
parent
1c883c3666
commit
43c2183e58
|
|
@ -22,9 +22,10 @@ public abstract class AcUserModelDtoBase<TUserDto, TProfile, TProfileDto, TServi
|
|||
protected AcUserModelDtoBase() {}
|
||||
protected AcUserModelDtoBase(IAcUserDtoBase<TProfile, TServiceProvider, TUserToServiceProvider, TProfileAddress> user) : base(user)
|
||||
{
|
||||
Profile.AddressId = user.Profile.AddressId;
|
||||
UserDto.AffiliateId = user.AffiliateId;
|
||||
if (user.ServiceProviders.Count == 0) return;
|
||||
|
||||
UserDto.AffiliateId = user.AffiliateId;
|
||||
|
||||
//így proxy error lesz... - J.
|
||||
//ServiceProviders = new List<TServiceProvider>(user.ServiceProviders);
|
||||
|
|
|
|||
|
|
@ -18,5 +18,7 @@ public abstract class AcUserModelDtoDetailBase<TUserDtoDetail, TProfile, TProfil
|
|||
protected AcUserModelDtoDetailBase() {}
|
||||
protected AcUserModelDtoDetailBase(IAcUserDtoDetailBase<TProfile, TServiceProvider, TUserToServiceProvider, TProfileAddress> user) : base(user)
|
||||
{
|
||||
UserDto.EmailAddress = user.EmailAddress;
|
||||
UserDto.PhoneNumber = user.PhoneNumber;
|
||||
}
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ public abstract class AcUserModelDtoMinBase<TUserDtoMin, TProfile, TProfileDto,
|
|||
UserDto.AffiliateId = user.AffiliateId;
|
||||
|
||||
Profile = Activator.CreateInstance<TProfileDto>();
|
||||
Profile.Id = user.Profile.Id;
|
||||
Profile.Id = user.Profile.Id;
|
||||
Profile.Name = user.Profile.Name;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue