private void mapItem(Seed seed, SeedViewModel input) { seed.Description = input.Seed.Description; seed.Name = input.Seed.Name; seed.Notes = input.Seed.Notes; }
private void CreateSeed() { _seed1 = new Seed { Name = "Cannabis", }; _seed2 = new Seed { Name = "Opium", }; _repository.Save(_seed1); _repository.Save(_seed2); }