public static MVC.CounterAction MapBusinessToMvc(BL.CounterAction source) { if(source == null) return null; MVC.CounterAction target = new MVC.CounterAction(); target.CounterActionId = source.Id; target.CounterActionVersion = source.Version; target.CounterActionText = source.Text; return target; }
public static MVC.InterestGroup MapBusinessToMvc(BL.InterestGroup source) { if(source == null) return null; MVC.InterestGroup target = new MVC.InterestGroup(); target.InterestGroupId = source.Id; target.InterestGroupVersion = source.Version; target.InterestGroupName = source.Name; return target; }
public static MVC.ProjectStatusInfo MapBusinessToMvc(BL.ProjectStatusInfo source) { if(source == null) return null; MVC.ProjectStatusInfo target = new MVC.ProjectStatusInfo(); target.ProjectStatusInfoId = source.Id; target.ProjectStatusInfoVersion = source.Version; target.ProjectStatusInfoOwner = source.Owner; target.ProjectStatusInfoUpdated = source.Updated; target.ProjectStatusInfoGoal = source.Goal; target.Measurements = MapProjectMeasurement.MapBusinessToMvcList(source.Measurements); target.Actions = MapProjectAction.MapBusinessToMvcList(source.Actions); target.InterestGroups = MapInterestGroup.MapBusinessToMvcList(source.InterestGroups); target.Results = MapProjectResult.MapBusinessToMvcList(source.Results); target.ChallengesAndExceptions = MapProjectChallenge.MapBusinessToMvcList(source.ChallengesAndExceptions); target.CounterActions = MapCounterAction.MapBusinessToMvcList(source.CounterActions); return target; }
public static MVC.ProjectResult MapBusinessToMvc(BL.ProjectResult source) { if(source == null) return null; MVC.ProjectResult target = new MVC.ProjectResult(); target.ProjectResultId = source.Id; target.ProjectResultVersion = source.Version; target.ProjectResultText = source.Text; return target; }
public static MVC.ProjectMeasurement MapBusinessToMvc(BL.ProjectMeasurement source) { if(source == null) return null; MVC.ProjectMeasurement target = new MVC.ProjectMeasurement(); target.ProjectMeasurementId = source.Id; target.ProjectMeasurementVersion = source.Version; target.ProjectMeasurementText = source.Text; target.ProjectMeasurementStatus = source.Status; return target; }
public static MVC.ProjectInfo MapBusinessToMvc(BL.ProjectInfo source) { if(source == null) return null; MVC.ProjectInfo target = new MVC.ProjectInfo(); target.ProjectInfoId = source.Id; target.ProjectInfoVersion = source.Version; target.ProjectInfoName = source.Name; target.ProjectInfoResponsibleUnitName = source.ResponsibleUnitName; target.ProjectInfoResponsiblePersonName = source.ResponsiblePersonName; target.ProjectInfoFocusedYear = source.FocusedYear; target.ProjectInfoFocusedYearBudgetEuros = source.FocusedYearBudgetEuros; target.ProjectInfoFocusedYearEstimateEuros = source.FocusedYearEstimateEuros; target.ProjectInfoCommittedBudgetForNextYear = source.CommittedBudgetForNextYear; target.ProjectInfoWholeDurationRange = source.WholeDurationRange; return target; }
public static MVC.ProjectChallenge MapBusinessToMvc(BL.ProjectChallenge source) { if(source == null) return null; MVC.ProjectChallenge target = new MVC.ProjectChallenge(); target.ProjectChallengeId = source.Id; target.ProjectChallengeVersion = source.Version; target.ProjectChallengeText = source.Text; return target; }
public static MVC.ProjectAction MapBusinessToMvc(BL.ProjectAction source) { if(source == null) return null; MVC.ProjectAction target = new MVC.ProjectAction(); target.ProjectActionId = source.Id; target.ProjectActionVersion = source.Version; target.ProjectActionText = source.Text; target.ProjectActionStatus = source.Status; return target; }
public static MVC.Project MapBusinessToMvc(BL.Project source) { if(source == null) return null; MVC.Project target = new MVC.Project(); target.ProjectId = source.Id; target.ProjectVersion = source.Version; target.ProjectName = source.Name; target.ProjectStatusTrackingUrl = source.StatusTrackingUrl; target.ProjectTrackingUpdateTime = source.TrackingUpdateTime; target.ProjectStatusData = source.StatusData; target.ProjectInfo = MapProjectInfo.MapBusinessToMvc(source.ProjectInfo); target.ProjectStatusInfo = MapProjectStatusInfo.MapBusinessToMvc(source.ProjectStatusInfo); return target; }