예제 #1
0
 public static JobTracking ToEntity(this DTOJobTracking dtoJobTracking)
 {
     JobTracking entityJobTracking = new JobTracking()
     {
         JobNumber = dtoJobTracking.JobNumber,
         status = dtoJobTracking.status,
         Path = dtoJobTracking.Path
     };
     return entityJobTracking;
 }
예제 #2
0
        public static JobTracking ToEntity(this DTOJobTracking dtoJobTracking)
        {
            JobTracking entityJobTracking = new JobTracking()
            {
                JobNumber = dtoJobTracking.JobNumber,
                status    = dtoJobTracking.status,
                Path      = dtoJobTracking.Path
            };

            return(entityJobTracking);
        }