public static FlashRollupViewModel MapFrom(FlashReportRollUp f)
 {
     return(new FlashRollupViewModel
     {
         ID = f.ID,
         Year = f.Year,
         Month = f.Month,
         DaysInMonth = f.DaysInMonth,
         Cwo = f.Cwo,
         CWOGoal = f.CWOGoal,
         Scrap = f.Scrap,
         ScrapGoal = f.ScrapGoal,
         ScrapAsPercent = f.ScrapAsPercent,
         PlantCode = f.PlantCode,
         UCFScore = f.UCFScore,
         UCFGoal = f.UCFGoal,
         PlantID = f.PlantID,
         PDSales = f.PDSales,
         Sales = f.Sales,
         Margins = f.Margins,
         MarginPct = f.MarginPct
     });
 }
 public static async Task <FlashRollupViewModel> MapFromAsync(FlashReportRollUp f)
 {
     return(await Task.Run(() => { return MapFrom(f); }));
 }