Interface IItemController

All Known Implementing Classes:
ItemController

public interface IItemController
This interface contains the methods needed in the ItemController.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<Object>
    This method adds amount and unit to existing items.
  • Method Details

    • addUnitToExistingItems

      @PostMapping("/addUnits") org.springframework.http.ResponseEntity<Object> addUnitToExistingItems()
      This method adds amount and unit to existing items.
      Returns:
      ResponseEntity indicating whether the operation was successful or not.