public static RecommendedJobDto createRecommendedJobDTO(Guid JobId, Guid RecruiteeId, decimal PredictedRankingValue) { RecommendedJobDto task = new RecommendedJobDto(); task.JobId = JobId; task.RecruiteeId = RecruiteeId; task.PredictedRankingValue = (double)PredictedRankingValue; return task; }
public static RecommendedJobDto createRecommendedJobDTO(RecommendedJob obj) { RecommendedJobDto task = new RecommendedJobDto(); task.JobId = obj.JobId; task.RecruiteeId = obj.RecruiteeId; task.PredictedRankingValue = (double)obj.PredictedRankingValue; return task; }