/// <summary> Insert new doorWood.</summary>
        public void SaveDoorWood(List <DoorWood> doorWoods)
        {
            foreach (DoorWood wood in doorWoods)
            {
                wood.IdWood = wMan.SaveWood(wood.Wood);
            }

            repository.Insert(doorWoods);
        }
Beispiel #2
0
 public int SaveWood([FromBody] Wood wood)
 {
     return(wMan.SaveWood(wood));
 }