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

            return(entityJobTracking);
        }