Наследование: BaseProduct
Пример #1
0
 private void mapItem(Material material, MaterialViewModel input)
 {
     material.Description = input.Material.Description;
     material.Name = input.Material.Name;
     material.Notes = input.Material.Name;
 }
Пример #2
0
        private void CreateMaterials()
        {
            _materials1 = new Material
            {
                Name = "Kryptonite",
            };

            _materials2 = new Material
            {
                Name = "FoolsGold",
            };

            _repository.Save(_materials1);
            _repository.Save(_materials2);
        }