public void FromDto(ProductDescriptionTabDTO dto) { this.Bvin = dto.Bvin; this.HtmlData = dto.HtmlData; this.SortOrder = dto.SortOrder; this.TabTitle = dto.TabTitle; }
public ProductDescriptionTabDTO ToDto() { ProductDescriptionTabDTO dto = new ProductDescriptionTabDTO(); dto.Bvin = this.Bvin; dto.HtmlData = this.HtmlData; dto.SortOrder = this.SortOrder; dto.TabTitle = this.TabTitle; return(dto); }
/// <summary> /// Allows you to convert the current info tab object to the DTO equivalent for use with the REST API /// </summary> /// <returns>A new instance of ProductDescriptionTabDTO</returns> public ProductDescriptionTabDTO ToDto() { var dto = new ProductDescriptionTabDTO(); dto.Bvin = Bvin; dto.HtmlData = HtmlData; dto.SortOrder = SortOrder; dto.TabTitle = TabTitle; return(dto); }