Exemple #1
0
 public static QualityViewModel MapFrom(ScrapDailyByPlant g)
 {
     return(new QualityViewModel
     {
         ID = g.ID,
         Amount = g.Amount,
         Plant = g.PlantCode,
         Year = g.Year,
         Month = g.Month,
         Day = g.Day
     });
 }
Exemple #2
0
 public static async Task <QualityViewModel> MapFromAsync(ScrapDailyByPlant g)
 {
     return(await Task.Run(() => { return MapFrom(g); }));
 }