Exemple #1
0
 public PropertyModel(PropertyDetailedDto dto)
 {
     PropertyId = dto.PropertyId;
     Beds = dto.Beds;
     Rent = dto.Rent;
     Deposit = dto.Deposit;
     StartDate = dto.StartDate;
 }
Exemple #2
0
 public AddressModel(PropertyDetailedDto dto)
 {
     AddressId = dto.AddressId;
     HouseName = dto.HouseName;
     Address1 = dto.Address1;
     Address2 = dto.Address2;
     Area = dto.Area;
     City = dto.City;
     County = dto.County;
     Country = dto.Country;
     PostCode = dto.PostCode;
 }
 public PropertyDetailedModel(PropertyDetailedDto dto)
 {
     Property = new PropertyModel(dto);
     Address = new AddressModel(dto);
     Tenants = dto.Tenants;
 }
 public PropertyAddEditModel(PropertyDetailedDto dto)
 {
     Property = new PropertyModel(dto);
     Address = new AddressModel(dto);
 }