コード例 #1
0
 public void AddMultipleInventoryTakings(InventoryTakings inventory)
 {
     foreach (var inv in inventory.InventoryTaking)
     {
         AddInventoryTaking(inv);
     }
 }
コード例 #2
0
        public IActionResult AddMultipleInventoryTakings([FromBody] InventoryTakings inventory)
        {
            Repo.AddMultipleInventoryTakings(inventory);

            return(new OkObjectResult(new { response = "All Items Successfully Added" }));
        }