Ejemplo n.º 1
0
 public static QualityViewModel MapFrom(ScrapStage g)
 {
     return(new QualityViewModel
     {
         PlantCode = g.PlantCode,
         ControlNumber = g.ControlNumber,
         Job = g.Job,
         Suffix = g.Suffix,
         PartNum = g.PartNum,
         Description = g.Description,
         QtyDisposed = g.QtyDisposed,
         DisposedValue = g.DisposedValue,
         Year = g.Year,
         Month = g.Month,
         Day = g.Day
     });
 }
Ejemplo n.º 2
0
 public static async Task <QualityViewModel> MapFromAsync(ScrapStage g)
 {
     return(await Task.Run(() => { return MapFrom(g); }));
 }