//problem public static problemsExist ConvertProblemExist(CproblemsExist p) { problemsExist pe = new problemsExist(); pe.Id = p.Id; pe.problemStatus = p.problemStatus; pe.date = p.date; pe.maintenanceDescription = p.maintenanceDescription; pe.problemId = p.problemId; pe.dayCareCenterId = p.dayCareCenterId; pe.pictureAfter = p.pictureAfter; pe.pictureBefore = p.pictureBefore; return(pe); }
public static CproblemsExist convertToCommonProblemExist(problemsExist p) { CproblemsExist problemExist = new CproblemsExist(p.Id, p.problemStatus, p.date, p.dayCareCenterId, p.maintenanceDescription, p.problemId, p.pictureBefore, p.pictureAfter); return(problemExist); }