Service for Facture entity

Constructors

Methods

  • Deletes an existing facture.

    Parameters

    • id: number

      The ID to find the facture to delete.

    Returns Promise<void>

    Void.

  • Updates an existing facture.

    Parameters

    • id: number

      The ID to find the facture to update.

    • data: Partial<Facture>

      The data to update the facture with.

    Returns Promise<null | Facture>

    The updated facture.