vertx/src/main/java/eu/internetofus/common/vertx/ModelResources.java
/**
   * The method to call when is deleting a model.
   *
   * @param model   context of the model to delete.
   * @param deleter the function used to obtain the model.
   * @param context of the request.
   *
   * @param <T>     type of model to delete.
   * @param <I>     type for the model identifier.
   * @param <C>     type of validation context to use.
   */
The method to call when is deleting a model.
@param model   context of the model to delete.
@param deleter the function used to obtain the model.
@param context of the request.

@param      type of model to delete.
@param      type for the model identifier.
@param      type of validation context to use.
The method to call when is deleting a model . @param model context of the model to delete . @param deleter the function used to obtain the model . @param context of the request . @param type of model to delete . @param type for the model identifier . @param type of validation context to use .
static public <T extends Model, I, C extends ValidateContext<C>> void deleteModel(
      @NotNull final ModelContext<T, I, C> model, @NotNull final BiConsumer<I, Handler<AsyncResult<Void>>> deleter,
      @NotNull final ServiceContext context) {
    deleteModelChain(model, deleter, context, () -> ServiceResponseHandlers.responseOk(context.resultHandler));
  }
static public < T extends Model , I , C extends ValidateContext < C > > void deleteModel ( @ NotNull final ModelContext < T , I , C > model , @ NotNull final BiConsumer < I , Handler < AsyncResult < Void > > > deleter , @ NotNull final ServiceContext context ) { deleteModelChain ( model , deleter , context , ( ) -> ServiceResponseHandlers . responseOk ( context . resultHandler ) ) ; }
The method to call when is deleting a model.
The method to call when is deleting a model .