ServiceProviders fix
This commit is contained in:
parent
d66c256c3d
commit
828a9ef439
|
|
@ -15,13 +15,16 @@ public abstract class AcUserModelDtoBase<TUserDto, TProfileDto, TCompany, TUserT
|
||||||
where TProfileDto : class, IAcProfileDtoBase
|
where TProfileDto : class, IAcProfileDtoBase
|
||||||
where TCompany : class, IAcCompanyBase
|
where TCompany : class, IAcCompanyBase
|
||||||
where TUserToCompany : class, IAcUserToCompanyBase
|
where TUserToCompany : class, IAcUserToCompanyBase
|
||||||
//where TAddressDto : class, IAcAddressDtoBase
|
//where TAddressDto : class, IAcAddressDtoBase
|
||||||
{
|
{
|
||||||
public List<TCompany> ServiceProviders { get; set; }
|
public List<TCompany> ServiceProviders { get; set; } = [];
|
||||||
public List<TUserToCompany> UserToServiceProviders { get; set; }
|
public List<TUserToCompany> UserToServiceProviders { get; set; } = [];
|
||||||
|
|
||||||
|
|
||||||
protected AcUserModelDtoBase() {}
|
protected AcUserModelDtoBase()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
protected AcUserModelDtoBase(IAcUserDtoBase<TProfileDto, TCompany, TUserToCompany> user) : base(user)
|
protected AcUserModelDtoBase(IAcUserDtoBase<TProfileDto, TCompany, TUserToCompany> user) : base(user)
|
||||||
{
|
{
|
||||||
ProfileDto.AddressId = user.Profile.AddressId;
|
ProfileDto.AddressId = user.Profile.AddressId;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue