public ServiceStatusTypeData(ServiceStatusType serviceStatusType) { if (serviceStatusType != null) { this.serviceStatusType = serviceStatusType; } }
public ServiceStatus(ServiceStatusData ServiceStatusData) { Id = ServiceStatusData.Id; StatusTypeID = ServiceStatusData.StatusTypeID; FromDate = ServiceStatusData.FromDate; ToDate = ServiceStatusData.ToDate; //Service = ServiceStatusData.Service; ServiceStatusType = new ServiceStatusType(ServiceStatusData.ServiceStatusTypeData); }