Esempio n. 1
0
 public IList <WeaponDTO> GetWeapons()
 {
     return((from w in _wepRepo.GetWeapons()
             select new WeaponDTO()
     {
         Name = w.Name,
         Phys = w.Phys,
         Magic = w.Magic,
         Fire = w.Fire,
         Lightning = w.Lightning,
         Dark = w.Dark,
         Weight = w.Weight
     }).ToList());
 }