private void mapItem(Material material, MaterialViewModel input) { material.Description = input.Material.Description; material.Name = input.Material.Name; material.Notes = input.Material.Name; }
private void CreateMaterials() { _materials1 = new Material { Name = "Kryptonite", }; _materials2 = new Material { Name = "FoolsGold", }; _repository.Save(_materials1); _repository.Save(_materials2); }