Example #1
0
 public PropertyModel(PropertyDetailedDto dto)
 {
     PropertyId = dto.PropertyId;
     Beds = dto.Beds;
     Rent = dto.Rent;
     Deposit = dto.Deposit;
     StartDate = dto.StartDate;
 }
Example #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;
 }
Example #3
0
 public PropertyDetailedModel(PropertyDetailedDto dto)
 {
     Property = new PropertyModel(dto);
     Address = new AddressModel(dto);
     Tenants = dto.Tenants;
 }
Example #4
0
 public PropertyAddEditModel(PropertyDetailedDto dto)
 {
     Property = new PropertyModel(dto);
     Address = new AddressModel(dto);
 }