public PrintableObjectViewModel(PrintableObjectDto dto, IList <PlasticSpoolDto> spools)
 {
     Id             = dto.Id;
     Name           = dto.Name;
     PrintTime      = dto.PrintTime;
     Hours          = PrintTime.Hours;
     Min            = PrintTime.Minutes;
     PrintCost      = dto.PrintCost;
     SellValue      = dto.SellValue;
     URL            = dto.URL;
     PlasticSpoolId = dto.PlasticSpoolId;
     SpoolList      = spools.Select(x => new SelectListItem(x.Mass + " -- " + x.Plastic.Name, x.Id.ToString()));
 }
 public PrintableObjectViewModel(PrintableObjectDto dto)
 {
     Id               = dto.Id;
     Name             = dto.Name;
     PrintTime        = dto.PrintTime;
     Hours            = PrintTime.Hours;
     Min              = PrintTime.Minutes;
     PrintCost        = dto.PrintCost;
     SellValue        = dto.SellValue;
     URL              = dto.URL;
     PlasticSpoolId   = dto.PlasticSpoolId;
     PlasticSpoolName = dto.PlasticSpool.Mass + " -- " + dto.PlasticSpool.Plastic.Name;
 }