public TextColumnViewModel(AdditionalColumnType additionalColumnType, Employee employee, AdditionalColumn additionalColumn = null) { AdditionalColumnType = additionalColumnType; Employee = employee; AdditionalColumn = additionalColumn != null ? additionalColumn : new AdditionalColumn { AdditionalColumnTypeUID = AdditionalColumnType.UID, ColumnName = AdditionalColumnType.Name, EmployeeUID = Employee.UID, TextData = "" }; }
public GraphicsColumnViewModel(AdditionalColumnType additionalColumnType, Employee employee, AdditionalColumn additionalColumn = null) { AdditionalColumnType = additionalColumnType; Employee = employee; AdditionalColumn = additionalColumn != null ? additionalColumn : new AdditionalColumn { AdditionalColumnTypeUID = AdditionalColumnType.UID, ColumnName = additionalColumnType.Name, EmployeeUID = Employee.UID, Photo = new Photo() }; }